-
Notifications
You must be signed in to change notification settings - Fork 8.9k
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 empty retry_strategy of Batch JobDefinition causing panics #37500
base: main
Are you sure you want to change the base?
Fix empty retry_strategy of Batch JobDefinition causing panics #37500
Conversation
Computing whether a Batch JobDefinition has a diff panics if the `retry_strategy` is empty. This is a valid configuration because all properties of `retry_strategy` are optional. This patch fixes that by adding the missing nil checks for the retry strategy. Fixes hashicorp#37349
Community NoteVoting for Prioritization
For Submitters
|
Thank you for your contribution! 🚀 Please note that the Remove any changes to the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Welcome @flostadler 👋
It looks like this is your first Pull Request submission to the Terraform AWS Provider! If you haven’t already done so please make sure you have checked out our CONTRIBUTOR guide and FAQ to make sure your contribution is adhering to best practice and has all the necessary elements in place for a successful approval.
Also take a look at our FAQ which details how we prioritize Pull Requests for inclusion.
Thanks again, and welcome to the community! 😃
Any updates on this expected closure date? |
Description
Computing whether a Batch JobDefinition has a diff panics if the
retry_strategy
is empty.This is a valid configuration because all properties of
retry_strategy
are optional.This patch fixes that by adding the missing nil checks for the retry strategy.
Relations
Closes #37349
References
Output from Acceptance Testing