Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IAM is not configured properly #31

Open
92nqb opened this issue Oct 10, 2022 · 0 comments
Open

IAM is not configured properly #31

92nqb opened this issue Oct 10, 2022 · 0 comments
Assignees
Labels
bug Something isn't working package/landingzone

Comments

@92nqb
Copy link
Member

92nqb commented Oct 10, 2022

During landing zone setup, the following error occurs:

aws:iam:AccountPasswordPolicy (account-audit):
    error: 1 error occurred:
        * error configuring Terraform AWS Provider: IAM Role (arn:aws:iam::<account id>:role/root) cannot be assumed.
    
    There are a number of possible causes of this - the most common are:
      * The credentials used in order to assume the role are invalid
      * The credentials do not have appropriate permission to assume the role
      * The role ARN is not valid
    
    Error: operation error STS: AssumeRole, https response error StatusCode: 403, RequestID: 0529cbfe-21c8-47d6-8954-6b4f21eec46f, api error AccessDenied: User: arn:aws:iam::<id>:user/<user> is not authorized to perform: sts:AssumeRole on resource: arn:aws:iam::<id>:role/root

It should be a race condition because if you re-run a pulumi up it is fixed.

@92nqb 92nqb added bug Something isn't working package/landingzone labels Oct 10, 2022
@92nqb 92nqb added this to the v0.3.0 milestone Oct 10, 2022
@pasqualet pasqualet self-assigned this Oct 11, 2022
@pasqualet pasqualet modified the milestones: v0.3.0, v0.5.0 Oct 13, 2022
@pasqualet pasqualet removed this from the v0.5.0 milestone Oct 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working package/landingzone
Projects
None yet
Development

No branches or pull requests

2 participants