Skip to content

Commit

Permalink
Allow setting ip_address of bgp router peer (#5098)
Browse files Browse the repository at this point in the history
* Allow setting ip_address of bgp router peer

* Mark O+C
  • Loading branch information
slevenick authored Aug 25, 2021
1 parent d283970 commit 4be2d26
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 0 additions & 1 deletion mmv1/products/compute/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13333,7 +13333,6 @@ objects:
description: |
IP address of the interface inside Google Cloud Platform.
Only IPv4 is supported.
output: true
- !ruby/object:Api::Type::String
name: 'peerIpAddress'
description: |
Expand Down
2 changes: 2 additions & 0 deletions mmv1/products/compute/terraform.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2276,6 +2276,8 @@ overrides: !ruby/object:Overrides::ResourceOverrides
custom_expand: 'templates/terraform/custom_expand/bool_to_upper_string.erb'
custom_flatten: 'templates/terraform/custom_flatten/string_to_bool.erb'
send_empty_value: true
ipAddress: !ruby/object:Overrides::Terraform::PropertyOverride
default_from_api: true
SecurityPolicy: !ruby/object:Overrides::Terraform::ResourceOverride
exclude: true
ServiceAttachment: !ruby/object:Overrides::Terraform::ResourceOverride
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,7 @@ resource "google_compute_router_peer" "foobar" {
name = "%s"
router = google_compute_router.foobar.name
region = google_compute_router.foobar.region
ip_address = "169.254.3.1"
peer_ip_address = "169.254.3.2"
peer_asn = 65515
advertised_route_priority = 100
Expand Down

0 comments on commit 4be2d26

Please sign in to comment.