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

add support for nuking app runner service(s). #722

Merged

Conversation

wakeful
Copy link
Contributor

@wakeful wakeful commented Jun 15, 2024

Description

Fixes #000.

add support for cleaning up App Runner Services

TODOs

Read the Gruntwork contribution guidelines.

  • Update the docs.
  • Run the relevant tests successfully, including pre-commit checks.
  • Ensure any 3rd party code adheres with our license policy or delete this line if its not applicable.
  • Include release notes. If this PR is backward incompatible, include a migration guide.
  • Attention Grunts - if this PR adds support for a new resource, ensure the nuke_sandbox and nuke_phxdevops jobs in .circleci/config.yml have been updated with appropriate exclusions (either directly in the job or via the .circleci/nuke_config.yml file) to prevent nuking IAM roles, groups, resources, etc that are important for the test accounts.

Release Notes (draft)

Added support for nuking app runner service(s).

Migration Guide

@@ -22,6 +22,7 @@ type Config struct {
APIGatewayV2 ResourceType `yaml:"APIGatewayV2"`
AccessAnalyzer ResourceType `yaml:"AccessAnalyzer"`
AutoScalingGroup ResourceType `yaml:"AutoScalingGroup"`
AppRunnerService ResourceType `yaml:"AppRunnerService"`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You probably need to update the config_test.go file to pass the unit test.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

actually you right - but seem like that test is also failing on master for me :| will fix it today

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sorted, but I needed to add field names to the test file, this way it should be easier to maintain when new fields will be added.

@wakeful wakeful force-pushed the feature/add-support-for-app-runner branch from 170c7ff to 921582c Compare June 16, 2024 18:35
@wakeful wakeful requested a review from james03160927 June 16, 2024 19:34
@james03160927
Copy link
Contributor

Triggered the test pipeline. Also manually tested in locally. Seems to be working fine.
Thanks for the contribution. Merging this change in.

Copy link
Contributor

@james03160927 james03160927 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@james03160927 james03160927 merged commit 238a784 into gruntwork-io:master Jun 19, 2024
2 checks passed
@wakeful wakeful deleted the feature/add-support-for-app-runner branch June 21, 2024 13:17
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