-
Notifications
You must be signed in to change notification settings - Fork 262
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 nil pointer if no cluster autoscaling #1766
Conversation
Hi @bappr! Thank you for your contribution. I'm unable to reproduce the error that you're getting, would you be able to give me the configuration you have that is leading to this error? Or add a test that fails before this change, but passes after? |
Hey @megan07,
When FYI, it's not failing when planning but applying. |
@bappr, thank you for the clarification! I've spent some time digging into this, and I think my confusion is the fact that That being said, I propose we split this into two conditionals ( Would you like to take a stab at that, or would you like us to make that change? Thanks for catching this! |
Hey @megan07 |
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.
Looks great, thank you!
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.
@megan07 sorry to take over, but we've had a couple issues filed - I'm going to go ahead and upstream this one and then merge the PRs in.
Signed-off-by: Modular Magician <magic-modules@google.com>
* 🐛 Fix nil pointer if no cluster autoscaling Related to hashicorp/terraform-provider-google#5685 * 🐛 PR Comments * 🐛PR comments 2
… (hashicorp#5782) Signed-off-by: Modular Magician <magic-modules@google.com>
* 🐛 Fix nil pointer if no cluster autoscaling Related to hashicorp/terraform-provider-google#5685 * 🐛 PR Comments * 🐛PR comments 2 Co-authored-by: Appréderisse Benjamin <benjamin.apprederisse@gmail.com>
Related to hashicorp/terraform-provider-google#5685