테라폼 환경 수정
This commit is contained in:
		@ -1,24 +0,0 @@
 | 
			
		||||
resource "aws_iam_role" "eks-cluster" {
 | 
			
		||||
  name = "iam role eks-cluster"
 | 
			
		||||
 | 
			
		||||
  # Terraform's "jsonencode" function converts a
 | 
			
		||||
  # Terraform expression result to valid JSON syntax.
 | 
			
		||||
  assume_role_policy = jsonencode({
 | 
			
		||||
    "Version" : "2012-10-17",
 | 
			
		||||
    "Statement" : [
 | 
			
		||||
      {
 | 
			
		||||
        "Effect" : "Allow",
 | 
			
		||||
        "Principal" : {
 | 
			
		||||
          "Service" : [
 | 
			
		||||
            "eks.amazonaws.com"
 | 
			
		||||
          ]
 | 
			
		||||
        },
 | 
			
		||||
        "Action" : "sts:AssumeRole"
 | 
			
		||||
      }
 | 
			
		||||
    ]
 | 
			
		||||
  })
 | 
			
		||||
 | 
			
		||||
  tags = {
 | 
			
		||||
    tag-key = "eks-cluster-rule"
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user