Make destroy protection environment aware
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import {
|
||||
for_each = local.bucket_names
|
||||
to = module.audit_logging_encryption.aws_s3_bucket.this[each.key]
|
||||
to = module.audit_logging_encryption.aws_s3_bucket.protected[each.key]
|
||||
id = each.value
|
||||
}
|
||||
|
||||
@@ -41,7 +41,7 @@ import {
|
||||
}
|
||||
|
||||
import {
|
||||
to = module.audit_logging_encryption.aws_kms_key.vault
|
||||
to = module.audit_logging_encryption.aws_kms_key.vault_protected[0]
|
||||
id = "46975f6d-881a-4188-8fdf-b641e1258a85"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user