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: Add dns_config options to beta clusters #1198

Closed
wants to merge 1 commit into from

Conversation

SamLR
Copy link

@SamLR SamLR commented Apr 5, 2022

Terraform now supports Google's integrated Cloud DNS solution, add
configuration to enable this in beta clusters.

closes #1013

Terraform now supports Google's integrated Cloud DNS solution, add
configuration to enable this in beta clusters.

closes terraform-google-modules#1013
@SamLR SamLR requested review from a team, Jberlinsky and bharathkkb as code owners April 5, 2022 15:40
@comment-bot-dev
Copy link

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

@@ -71,6 +71,17 @@ resource "google_container_cluster" "primary" {
{% endif %}
min_master_version = var.release_channel != null ? null : local.master_version

{% if beta_cluster and autopilot_cluster != true %}
dynamic "dns_config" {
for_each = var.enable_cloud_dns ? [1]: []
Copy link
Member

Choose a reason for hiding this comment

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

Could we do var.cluster_dns_provider == "CLOUD_DNS" ? [1] : [] so we dont need an extra var?

@github-actions
Copy link

github-actions bot commented Jun 6, 2022

This PR is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cloud DNS for GKE Clusters
3 participants