-
Notifications
You must be signed in to change notification settings - Fork 1.9k
compute: added shared_secret_wo
and shared_secret_wo_version
fields to google_compute_vpn_tunnel
+ changes to write_only
implementation in generator/templating
#14138
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
base: main
Are you sure you want to change the base?
compute: added shared_secret_wo
and shared_secret_wo_version
fields to google_compute_vpn_tunnel
+ changes to write_only
implementation in generator/templating
#14138
Conversation
9a3ee63
to
14b0076
Compare
… is true to avoid conflicts
This has been one of my deepest debugging sprees so far into the internals of magic-modules. I have the feeling my yaml configuration was as it should be for implementing write-only arguments, however, my tests kept failing. To eventually get write-only arguments to work with my yaml configuration I had to do quite some debugging into how the code for write-only argument is generated. I would love to hear your thoughts on this and the changes that I made, I followed the terraform provider sdk page on write-only arguments as reference. But possibly I was implementing my yaml incorrect in the first place, and some of the changes I made to the templates are not required (I don't know all the ins and outs, and possible impact). Some key changes I made to the resource generation templates:
Local acceptance tests:
|
shared_secret_wo
and shared_secret_wo_version
fields to google_compute_vpn_tunnel
+ changes to write_only
implementation in generator/templating
Hello! I am a robot. Tests will require approval from a repository maintainer to run. Googlers: For automatic test runs see go/terraform-auto-test-runs. @melinath, 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. |
Closes hashicorp/terraform-provider-google#23058
Release Note Template for Downstream PRs (will be copied)
See Write release notes for guidance.