-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New resource: aws_kms_multi_region_key to define both primary and replica keys #22243
Comments
@lnattrass Please see this comment about the possibility of adding a |
I could swear I searched - yes that would definitely do what I think we need |
It would help with creation of the replica keys, but you'd still have to have region specific providers to set the regional This might also help with my particular issue of creating the replicas using an already assumed role since
I can import this key once created and apparently modify it too, but not create outright. Should probably file a bug - but I suppose there isn't a direct fix. The |
Marking this issue as stale due to inactivity. This helps our maintainers find and focus on the active issues. If this issue receives no comments in the next 30 days it will automatically be closed. Maintainers can also remove the stale label. If this issue was automatically closed and you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thank you! |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Community Note
Description
aws_secretsmanager_secret allows you to specify regions to replicate secrets to within the resource itself.
aws_kms_replica_key does not follow this pattern, even though the API call is made against the Primary key's region.
Given it's not possible to for_each over providers, I think makes sense to support specifying additional regions without having to instantiate a new provider in the target region.
New or Affected Resource(s)
Potential Terraform Configuration
or this:
References
The text was updated successfully, but these errors were encountered: