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

fix IAM action name to grant permission to describe stack resources #148

Merged
merged 1 commit into from
Dec 7, 2023

Conversation

bpholt
Copy link
Member

@bpholt bpholt commented Dec 7, 2023

Currently the scale out hook fails due to

<ErrorResponse xmlns="http://cloudformation.amazonaws.com/doc/2010-05-15/">
  <Error>
    <Type>Sender</Type>
    <Code>AccessDenied</Code>
    <Message>User: arn:aws:sts::REDACTED:assumed-role/ecs-autoscaling-lifecycle-hooks-admin-us-west-2-lambdaRole/ecs-autoscaling-lifecycle-hooks-admin-ConfirmRegistratorHealth is not authorized to perform: cloudformation:DescribeStackResources on resource: arn:aws:cloudformation:us-west-2:REDACTED:stack/REDACTED because no identity-based policy allows the cloudformation:DescribeStackResources action</Message>
  </Error>
  <RequestId>REDACTED</RequestId>
</ErrorResponse>

but I think this should fix that.

@bpholt bpholt self-assigned this Dec 7, 2023
@bpholt bpholt requested a review from a team as a code owner December 7, 2023 16:44
@bpholt bpholt merged commit 6d672b2 into main Dec 7, 2023
4 checks passed
@bpholt bpholt deleted the permissions branch December 7, 2023 16:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants