-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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/function cloud nat dyna port #13315
base: main
Are you sure you want to change the base?
Feat/function cloud nat dyna port #13315
Conversation
Hello! I am a robot. Tests will require approval from a repository maintainer to run. Googlers: see go/terraform-auto-test-runs to set up automatic test runs. @SirGitsalot, a repository maintainer, has been assigned to review your changes. If you have not received review feedback within 2 business days, please leave a comment on this PR asking them to take a look. You can help make sure that review is quick by doing a self-review and by running impacted tests locally. |
81129fc
to
ce8c038
Compare
ce8c038
to
b7a8256
Compare
@SirGitsalot can I let you fix the last issue for unit test ? the setup here is a bit mindfuck seems I did not understand something :/ not as easy as a classic provider ;) |
This function will help setup correct value for cloud nat dynamic port that must be pow of 2, used here : https://registry.terraform.io/providers/public-cloud-wl/tools/latest/docs/functions/GetClosestInferiorGCPCloudNatDynamicPortFunction
https://github.com/public-cloud-wl/terraform-provider-tools/blob/main/internal/provider/get_closest_inferior_gcp_cloud_nat_dynamic_port_function.go
And I think it is a good idea to backport it here ;)
Release Note Template for Downstream PRs (will be copied)
See Write release notes for guidance.