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

fix(variables)!: allow optional attributes for update_policy object #407

Merged
merged 5 commits into from
May 23, 2024

Conversation

eeaton
Copy link
Contributor

@eeaton eeaton commented May 23, 2024

Fix to address #406 . Several attributes that are optional in the Google provider are treated as required in this module which introduces errors.

I think this will also address #405

@eeaton eeaton requested a review from a team as a code owner May 23, 2024 14:29
Copy link
Contributor

@apeabody apeabody left a comment

Choose a reason for hiding this comment

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

Thanks @eeaton!

optional was added as experimental in terraform v0.14 and GA in v1.3. Can you please bump https://github.com/terraform-google-modules/terraform-google-vm/blob/master/autogen/versions.tf.tmpl#L18

Also we should prefix this PR as fix to trigger release-please and include in the release notes.

@eeaton eeaton changed the title chore(variables): allow optional attributes for update_policy object fix(variables): allow optional attributes for update_policy object May 23, 2024
@apeabody
Copy link
Contributor

/gcbrun

@eeaton
Copy link
Contributor Author

eeaton commented May 23, 2024

Thanks for the feedback, I've made the requested changes.

@apeabody
Copy link
Contributor

/gcbrun

@apeabody apeabody self-assigned this May 23, 2024
@apeabody apeabody changed the title fix(variables): allow optional attributes for update_policy object fix(variables)!: allow optional attributes for update_policy object May 23, 2024
@apeabody
Copy link
Contributor

apeabody commented May 23, 2024

mark as ! due to minimum terraform bump

@apeabody apeabody merged commit 6769c24 into terraform-google-modules:master May 23, 2024
4 checks passed
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