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

Improve VPN gateway and router to generate network link without calling network API #527

Merged
merged 2 commits into from
Oct 4, 2017

Conversation

rosbo
Copy link
Contributor

@rosbo rosbo commented Oct 4, 2017

Helps for #431

Not calling the network API for generating the network self_link has 2 main advantages:

  • Faster, avoid an extraneous network call
  • Requires less permission: you may have the permission to create a router without the permission to actually read the network info.

@rosbo rosbo requested a review from danawillow October 4, 2017 17:33
@rosbo
Copy link
Contributor Author

rosbo commented Oct 4, 2017

=== RUN   TestAccComputeRouter_import
--- PASS: TestAccComputeRouter_import (80.44s)
=== RUN   TestAccComputeRouter_basic
--- PASS: TestAccComputeRouter_basic (89.93s)
=== RUN   TestAccComputeRouter_noRegion
--- PASS: TestAccComputeRouter_noRegion (78.67s)
=== RUN   TestAccComputeRouter_networkLink
--- PASS: TestAccComputeRouter_networkLink (86.02s)
=== RUN   TestAccComputeVpnGateway_basic
--- PASS: TestAccComputeVpnGateway_basic (63.16s)

@rosbo rosbo merged commit 10aeb9c into hashicorp:master Oct 4, 2017
@rosbo rosbo deleted the router_and_vpn_network_field branch October 4, 2017 21:01
negz pushed a commit to negz/terraform-provider-google that referenced this pull request Oct 17, 2017
…ng network API (hashicorp#527)

* Router network fields supports name in addition of self_link
* Improve VPN Gateway network field support
negz pushed a commit to negz/terraform-provider-google that referenced this pull request Oct 17, 2017
…ng network API (hashicorp#527)

* Router network fields supports name in addition of self_link
* Improve VPN Gateway network field support
luis-silva pushed a commit to luis-silva/terraform-provider-google that referenced this pull request May 21, 2019
…ce (hashicorp#527)

<!-- This change is generated by MagicModules. -->
/cc @whd
@ghost
Copy link

ghost commented Mar 30, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks!

@ghost ghost locked and limited conversation to collaborators Mar 30, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants