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

Allow setting ip_address of bgp router peer #5098

Merged
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
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 @@ -2233,6 +2233,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