You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When creating s3 bucket with s3_replication_rules, the storage_class inside destination is always enabled as "STANDARD" and can't be set to null, when the null should use the source replication bucket.
Expected Behavior
storage_class for replication should not be set, and should be taken from the source replication bucket.
Steps to Reproduce
call the module with all relevant fields including the replication fields -
Describe the Bug
When creating s3 bucket with s3_replication_rules, the storage_class inside destination is always enabled as "STANDARD" and can't be set to null, when the null should use the source replication bucket.
Expected Behavior
storage_class
for replication should not be set, and should be taken from the source replication bucket.Steps to Reproduce
call the module with all relevant fields including the replication fields -
see in aws console that the "Destination storage class" is set to Standard and not as it should be unmarked.
Screenshots
No response
Environment
Additional Context
I tested a fix to the module in variables.tf line 267 and changed it to - storage_class = optional(string, null), and it seems to work either if :
we don't send "storage_class" to the module at all, the result is inherited from the source bucket
we do send "storage_class = STANDARD" it's sets it to standard.
The text was updated successfully, but these errors were encountered: