Commit 173b8fc
authored
Update main.tf
Remove the `object_lock_enabled` attribute from the `aws_s3_bucket` resource, as it will force the creation of a new bucket and cannot be applied to an existing bucket.
To enable object lock, using the `aws_s3_bucket_object_lock_configuration` resource alone is sufficient.1 parent e1fb51b commit 173b8fc
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | 34 | | |
36 | 35 | | |
37 | 36 | | |
| |||
391 | 390 | | |
392 | 391 | | |
393 | 392 | | |
| 393 | + | |
| 394 | + | |
394 | 395 | | |
395 | 396 | | |
396 | 397 | | |
| |||
0 commit comments