Skip to content
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
2 changes: 0 additions & 2 deletions mmv1/products/compute/RegionBackendService.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,6 @@ examples:
network_name: 'rbs-net'
- name: 'region_backend_service_connection_tracking'
primary_resource_id: 'default'
min_version: 'beta'
vars:
region_backend_service_name: 'region-service'
health_check_name: 'rbs-health-check'
Expand Down Expand Up @@ -1413,7 +1412,6 @@ properties:
Connection Tracking configuration for this BackendService.
This is available only for Layer 4 Internal Load Balancing and
Network Load Balancing.
min_version: 'beta'
properties:
- name: 'idleTimeoutSec'
type: Integer
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
resource "google_compute_region_backend_service" "{{$.PrimaryResourceId}}" {
provider = google-beta
name = "{{index $.Vars "region_backend_service_name"}}"
region = "us-central1"
health_checks = [google_compute_region_health_check.health_check.id]
Expand All @@ -11,12 +10,11 @@ resource "google_compute_region_backend_service" "{{$.PrimaryResourceId}}" {
tracking_mode = "PER_SESSION"
connection_persistence_on_unhealthy_backends = "NEVER_PERSIST"
idle_timeout_sec = 60
enable_strong_affinity = true
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i wouldn't expect a value in a test config to be changed on a promotion to GA PR. is there a reason behind this?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

enable_strong_affinity field is currently in the folder list phase, and this test with v1 API will return a 400 error if this field is set to true. The field's status is also mentioned in the public API doc (This option is not available publicly).

enable_strong_affinity = false
}
}

resource "google_compute_region_health_check" "health_check" {
provider = google-beta
name = "{{index $.Vars "health_check_name"}}"
region = "us-central1"

Expand Down
Loading