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

feat: source node pools' auto_upgrade configuration from the GKE default config #1293

Merged
merged 1 commit into from
Jun 21, 2022

Conversation

MrwanBaghdad
Copy link
Contributor

Allows the module to use the default_auto_upgrade to infer if the auto_upgrade is enabled for the node pool. This is in line with how the auto_upgrade config is calculated in the node_pool resource

  management {
    auto_repair  = lookup(each.value, "auto_repair", true)
    auto_upgrade = lookup(each.value, "auto_upgrade", local.default_auto_upgrade)
  }

@comment-bot-dev
Copy link

Thanks for the PR! 🚀
✅ Lint checks have passed.

@MrwanBaghdad
Copy link
Contributor Author

@bharathkkb Can you please take a look?

Copy link
Member

@bharathkkb bharathkkb left a comment

Choose a reason for hiding this comment

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

Thanks for the PR @MrwanBaghdad

@bharathkkb bharathkkb merged commit c7c9f44 into terraform-google-modules:master Jun 21, 2022
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.

None yet

3 participants