Did not get it right with #453, when importing an existing resource. The existing resource gets imported with object_locking attribute set to false, always.
Steps to Reproduce
Have a bucket with object_locking: true
Import it with terraform import
Next apply, it will try to recreate the bucket due to object_locking state going from false -> true.
Expected behavior:
Next apply should have the correct state instead.
Additional Information
Thankfully does not impact default behaviour, where object_locking is set to false.
Description
Did not get it right with #453, when importing an existing resource. The existing resource gets imported with object_locking attribute set to
false
, always.Steps to Reproduce
terraform import
Expected behavior:
Next apply should have the correct state instead.
Additional Information
Thankfully does not impact default behaviour, where object_locking is set to
false
.