skip to Main Content

Terraform Resource: aws_iam_instance_profile – Amazon web services

I reference the code at https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_instance_profile, I created iam.tf file. I tried to attach the policy to an ec2 instance. I got an error: aws_iam_role.role: Creating... Error: failed creating IAM Role (jenkins_server_role): MalformedPolicyDocument: Has prohibited field Resource status code: 400,…

VIEW QUESTION
Back To Top
Search