-
Notifications
You must be signed in to change notification settings - Fork 1.3k
feat(TPG>=6.11)!: add endpoint_dns #2180
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
Conversation
29e7c9a to
2632f5f
Compare
1a78715 to
bca46df
Compare
877ea55 to
81fc902
Compare
|
Error doesn't appear related to this change, but is a result of TPG v6.11+ |
81fc902 to
db45e23
Compare
|
Resolves #2182 |
ff2c62a to
58fd1bb
Compare
|
Look forward to this going in. |
|
Starting with TPG v6.11.0+ this has been a reliable error during beta-cluster teardown: |
14096f1 to
78e9ff5
Compare
7efc72b to
d6e1fc1
Compare
c637305 to
4fb55a9
Compare
4fb55a9 to
17e400c
Compare
|
All pre-requisite PRs have been merged, this is now ready for review. |
|
how's it now? |
| for_each = var.enable_private_endpoint && var.deploy_using_private_endpoint ? [1] : [0] | ||
| content { | ||
| dns_endpoint_config { | ||
| allow_external_traffic = var.deploy_using_private_endpoint |
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.
@apeabody question: Why is this feature gated by a condition var.enable_private_endpoint && var.deploy_using_private_endpoint ?
It should be possible to have "DNS-based endpoint" feature enabled without enforcing the usage of the private IP / private endpoint 🤔
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.
Hi @legal90 - I was planning to update this behavior as part of a larger change when hashicorp/terraform-provider-google#20369 is released, but I'd be happy to review a PR for just this aspect mow.
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.
Hi @apeabody ,
Thank you for your reply! I found your PR, which fixes that behavior and makes it working as it really should (at least, to my view): #2313
Kudos! I don't have anything to add there.
P.s. I'm sorry if my previous message sounded unpleasant. Thank you for your hard work on this module! ❤️
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.
Thanks for the feedback @legal90! Yes, had a few minutes to prototype a change, should have it committed this week.
Fixes: #2182