Skip to content

Commit

Permalink
use map delete
Browse files Browse the repository at this point in the history
  • Loading branch information
jpogran committed Apr 2, 2024
1 parent 1e0da8c commit 136ded4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/schema/backends/s3.go
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@ func s3Backend(v *version.Version) *schema.BodySchema {

if v.GreaterThanOrEqual(v1_8_0) {
// In Terraform 1.8 the use_legacy_workflow argument is be removed to encourage consistency with the AWS SDKs
bodySchema.Attributes["use_legacy_workflow"] = nil
delete(bodySchema.Attributes, "use_legacy_workflow")
}

return bodySchema
Expand Down

0 comments on commit 136ded4

Please sign in to comment.