Skip to content

Commit

Permalink
Fix Terraform version for skip_s3_checksum (s3 backend) (#303)
Browse files Browse the repository at this point in the history
  • Loading branch information
dbanck authored Nov 17, 2023
1 parent 9f608e7 commit a19d02c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internal/schema/backends/backends.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ var (
v1_4_0 = version.Must(version.NewVersion("1.4.0"))
v1_6_0 = version.Must(version.NewVersion("1.6.0"))
v1_6_1 = version.Must(version.NewVersion("1.6.1"))
v1_6_2 = version.Must(version.NewVersion("1.6.2"))
v1_6_3 = version.Must(version.NewVersion("1.6.3"))
v1_6_4 = version.Must(version.NewVersion("1.6.4"))
)

Expand Down
2 changes: 1 addition & 1 deletion internal/schema/backends/s3.go
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ func s3Backend(v *version.Version) *schema.BodySchema {
}
}

if v.GreaterThanOrEqual(v1_6_2) {
if v.GreaterThanOrEqual(v1_6_3) {
bodySchema.Attributes["skip_s3_checksum"] = &schema.AttributeSchema{
Constraint: schema.LiteralType{Type: cty.Bool},
IsOptional: true,
Expand Down

0 comments on commit a19d02c

Please sign in to comment.