Skip to content
Discussion options

You must be logged in to vote

Two thoughts:

  • In your code roleToAssumeARN is specifying a user. I assume you're already logged in as user/pulumi; did you mean this to be the role your admin provided?

  • You mention your admin added policy for user/pulumi - did they also add policy to the role you want to assume?

arn:aws:iam::XXXXXXXXX:user/pulumi:

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "PermissionToAssumeAlice",
      "Effect": "Allow",
      "Action": "sts:AssumeRole",
      "Resource": "arn:aws:iam::XXXXXXXXX:role/pulumi" // role you want to assume
    }
  ]
}

arn:aws:iam::XXXXXXXXX:role/pulumi

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Principal":…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@capaj
Comment options

Answer selected by capaj
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants