DynamoDB lock table encryption at rest #687
-
Dear All, I am using below config which created s3 bucket and dynamodb lock table during first terragrunt plan and apply. The dynamodb lock table created with default encryption (Owned by Amazon DynamoDB). Now I want to change default encryption to AWS managed key(KMS) encryption instead of default encryption. Could any one using KMS key to encrypt dynamodb lock table can help on this? Basically I want to change default encryption to KMS encryption for existing dynamodb lock table. $ cat terragrunt.hcl
Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Can you use the kms_key_id field? You can find the documentation on this here: https://developer.hashicorp.com/terraform/language/settings/backends/s3. I believe this specific section is what you are interested in:
Caution: since you are changing the encryption method, terraform apply might delete the old table and try to re-create it with the new encryption method. Hope this answer your question. |
Beta Was this translation helpful? Give feedback.
Can you use the kms_key_id field? You can find the documentation on this here: https://developer.hashicorp.com/terraform/language/settings/backends/s3.
I believe this specific section is what you are interested in:
Caution: since you are changing the encryption method, terraform apply might delete the old table and try to re-create it with the new encryption method.
Hope this answer your question.