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

AWS Terraform: │ Error: error configuring Terraform AWS Provider: error validating provider credentials: error calling sts:GetCallerIdentity: – Amazon web services

Error: error configuring Terraform AWS Provider: error validating provider credentials: error calling sts:GetCallerIdentity: operation error STS: GetCallerIdentity, https response error StatusCode: 403, RequestID: 95e52463-8cd7-038-b924-3a5d4ad6ef03, api error InvalidClientTokenId: The security token included in the request is invalid. with provider["registry.terraform.io/hashicorp/aws"], on provider.tf…

VIEW QUESTION
Back To Top
Search