-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add SHARED_LOADBALANCER_VIP as option for google_compute_address.purp…
…ose (#3629) * Add SHARED_LOADBALANCER_VIP as option for google_compute_address.purpose * Update products/compute/api.yaml add `an` Co-authored-by: Dana Hoffman <danahoffman@google.com> * Update api.yaml Re-ordered the sentences, providing `when using an Internal address` is applied to all options in the field `purpose` * Update terraform.yaml skip_docs is applied on internal_with_shared_loadbalancer_vip Co-authored-by: Edward Sun <sunedward@google.com> Co-authored-by: Dana Hoffman <danahoffman@google.com>
- Loading branch information
1 parent
bf7303b
commit 4fc90d5
Showing
3 changed files
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
templates/terraform/examples/address_with_shared_loadbalancer_vip.tf.erb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
resource "google_compute_address" "<%= ctx[:primary_resource_id] %>" { | ||
provider = google-beta | ||
name = "<%= ctx[:vars]['address_name'] %>" | ||
address_type = "INTERNAL" | ||
purpose = "SHARED_LOADBALANCER_VIP" | ||
} |