Difference between revisions of "Terraform resource: aws iam role policy attachment"

From wikieduonline
Jump to navigation Jump to search
Line 21: Line 21:
 
* Terraform resource: <code>[[aws_iam_role]]</code>
 
* Terraform resource: <code>[[aws_iam_role]]</code>
 
* [[aws_eks_node_group]]
 
* [[aws_eks_node_group]]
 +
* [[aws_iam_instance_profile]]
  
 
== See also ==
 
== See also ==

Revision as of 16:30, 29 May 2023



Module:

# module.eks.aws_iam_role_policy_attachment.cluster_AmazonEKSClusterPolicy[0] will be created
 + resource "aws_iam_role_policy_attachment" "cluster_AmazonEKSClusterPolicy" {
     + id         = (known after apply)
     + policy_arn = "arn:aws:iam::aws:policy/AmazonEKSClusterPolicy"
     + role       = (known after apply)
   }


resource "aws_iam_role_policy_attachment" "your_node_policy" {
  role       = aws_iam_role.your_node_role.name
  policy_arn = "arn:aws:iam::aws:policy/AmazonSSMManagedInstanceCore"
}

Related

See also

Advertising: