Capgemini / Capgemini/kubeform

terraform instance-profile/master_profile" has no associated IAM Roles

Open
#116 2 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
328
Forks
54
PR merge metrics
No merged PRs in 30d

Description

1 error(s) occurred:
- aws_instance.master.2: Error launching source instance: InvalidParameterValue: IAM Instance Profile "arn:aws:iam::300835344128:instance-profile/master_profile" has no associated IAM Roles
status code: 400, request id: 2693153b-2c04-4d0a-97bb-74dc92ad555d

Terraform does not automatically rollback in the face of errors.
Instead, your Terraform state file has been partially updated with
any resources that successfully completed. Please address the error
above and apply again to incrementally change your infrastructure.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the Terraform configuration for aws_instance.master.2 and the instance profile named master_profile, then reproduce the apply failure if the environment is available. Trace how the profile and its IAM role are defined; done means the profile has an associated role and the source instance launches successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, terraform
Domain
cloud, infrastructure
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.