Skip to content

chore(examples/templates): add ec2:DescribeInstanceStatus to permissions #17134

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

Merged
merged 4 commits into from
Mar 27, 2025

Conversation

phorcys420
Copy link
Member

(Discord message)


One of our community users has mentioned needing to add the ec2:DescribeInstanceStatus to permissions.

From the API docs:

Describes the status of the specified instances or all of your instances

I think it's sensible to add it to our README example for the aws-* templates, it's probably required now due to changes in either the AWS API or Terraform provider, and shouldn't have a big impact.

@phorcys420 phorcys420 requested a review from matifali March 27, 2025 14:18
@phorcys420 phorcys420 changed the title chore(aws-*): add ec2:DescribeInstanceStatus to permissions chore(templates): add ec2:DescribeInstanceStatus to permissions Mar 27, 2025
@phorcys420 phorcys420 changed the title chore(templates): add ec2:DescribeInstanceStatus to permissions chore(examples/templates): add ec2:DescribeInstanceStatus to permissions Mar 27, 2025
@phorcys420 phorcys420 enabled auto-merge (squash) March 27, 2025 14:21
@matifali
Copy link
Member

matifali commented Mar 27, 2025

May it be it's only required if we are using aws_ec2_instance_state. We were not using this initially and added it at a later stage.

@phorcys420 phorcys420 merged commit 661ed23 into main Mar 27, 2025
31 checks passed
@phorcys420 phorcys420 deleted the aws-readme-describeinstancestatus branch March 27, 2025 15:06
@github-actions github-actions bot locked and limited conversation to collaborators Mar 27, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants