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

Added support for labels field in the google_compute_external_vpn_gateway #7053

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions mmv1/products/compute/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16969,6 +16969,9 @@ objects:
- !ruby/object:Api::Type::String
name: 'description'
description: 'An optional description of this resource.'
- !ruby/object:Api::Type::KeyValuePairs
name: 'labels'
description: 'Labels for the external VPN gateway resource.'
- !ruby/object:Api::Type::String
name: 'name'
description: |
Expand Down
6 changes: 6 additions & 0 deletions mmv1/products/compute/terraform.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3450,6 +3450,12 @@ overrides: !ruby/object:Overrides::ResourceOverrides
external_gateway_name: "external-gateway"
global_address_name: "global-address"
router_name: "ha-vpn-router1"
- !ruby/object:Provider::Terraform::Examples
skip_docs: true
name: "only_external_vpn_gateway_full"
primary_resource_id: "external_gateway"
vars:
external_gateway_name: "external-gateway"
UrlMap: !ruby/object:Overrides::Terraform::ResourceOverride
examples:
- !ruby/object:Provider::Terraform::Examples
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
resource "google_compute_external_vpn_gateway" "<%= ctx[:primary_resource_id] %>" {
name = "<%= ctx[:vars]['external_gateway_name'] %>"
redundancy_type = "SINGLE_IP_INTERNALLY_REDUNDANT"
description = "An externally managed VPN gateway"
interface {
id = 0
ip_address = "8.8.8.8"
}
labels = {
key = "value"
otherkey = ""
}
}