We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cb0e677 commit 551c6d6Copy full SHA for 551c6d6
examples/bottlerocket/main.tf
@@ -57,8 +57,7 @@ EOT
57
58
# SSM policy for bottlerocket control container access
59
# https://github.com/bottlerocket-os/bottlerocket/blob/develop/QUICKSTART-EKS.md#enabling-ssm
60
-resource "aws_iam_policy_attachment" "ssm" {
61
- name = "ssm"
62
- roles = [module.eks.worker_iam_role_name]
+resource "aws_iam_role_policy_attachment" "ssm" {
+ role = module.eks.worker_iam_role_name
63
policy_arn = data.aws_iam_policy.ssm.arn
64
}
0 commit comments