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

elastic bean stalk application implementation #644

Merged
merged 2 commits into from
Feb 28, 2024

Conversation

james03160927
Copy link
Contributor

Description

Fixes #351.

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 / Removed / Updated [X].

Migration Guide

// get the deleted ids
deletedApps = append(deletedApps, id)
logging.Debugf("Deleted Elastic Beanstalk application: %s", *id)

Copy link
Member

Choose a reason for hiding this comment

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

aws/resources/elastic_beanstalk.go:67: unnecessary trailing newline (whitespace)

	}

Copy link
Contributor Author

Choose a reason for hiding this comment

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

will reformat later!

}

for name, tc := range tests {
t.Run(name, func(t *testing.T) {
Copy link
Member

Choose a reason for hiding this comment

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

Was wondering why not to use t.Parallel()

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We should be able to use that. All the tests are mocked so it's pretty fast so no need to parallelized for performance at this point but we can definitely enable parallelism on all.

@james03160927 james03160927 merged commit e9f66f6 into master Feb 28, 2024
2 of 3 checks passed
@james03160927 james03160927 deleted the 15/elastic-bean-stack branch February 28, 2024 00:44
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.

Support Elasticbeanstalk
2 participants