-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Customize name of aws_iam_policy.cluster_encryption #1927
Comments
its a role policy (i.e. - inline policy) and its pretty common/standard to name it the same as the role. However, you should be able to get around this by setting |
isn't the resource for inline policies |
ah yes, you are correct - mobile for the |
This issue has been resolved in version 18.9.0 🎉 |
Awesome guys. Thanks! |
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. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Hi team, in #1915 a new IAM Policy was added that grants the Cluster Role permissions on the KMS used for the cluster encryption
terraform-aws-eks/main.tf
Lines 230 to 254 in 27f99f0
However, the name of this IAM Policy is always based on the role name
In my organization, there's an enforcement of different prefixes for both role and policy names.
Would it be possible to add
cluster_encryption_policy_use_name_prefix
andcluster_encryption_policy_name
variables (in a similar fashion to how it works for the cluster role name) for this resource as well?The text was updated successfully, but these errors were encountered: