terraform-aws-rds-aurora icon indicating copy to clipboard operation
terraform-aws-rds-aurora copied to clipboard

KMS_KEY_ID recreates database everytime

Open sabinayakc opened this issue 1 year ago β€’ 1 comments

How do we solve the problem of kms_key_id field?

When creating the rds for the first time kms_key_id = arn.

image

Then running terraform again, kms_key_id = is not the id and hence it force replaces. since arn is being passed.

Is there a way we could add a ignore change lifecyle for the kms_key_id

I can create a PR if you'd like.

Thank you.

sabinayakc avatar Sep 09 '24 16:09 sabinayakc