File tree Expand file tree Collapse file tree
google-beta/services/compute Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ```release-note:enhancement
2+ compute: added `connection_tracking_policy` field to `google_compute_region_backend_service` resource (ga)
3+ ```
Original file line number Diff line number Diff line change @@ -662,7 +662,7 @@ func TestAccComputeRegionBackendService_regionBackendServiceConnectionTrackingEx
662662
663663 acctest .VcrTest (t , resource.TestCase {
664664 PreCheck : func () { acctest .AccTestPreCheck (t ) },
665- ProtoV5ProviderFactories : acctest .ProtoV5ProviderBetaFactories (t ),
665+ ProtoV5ProviderFactories : acctest .ProtoV5ProviderFactories (t ),
666666 CheckDestroy : testAccCheckComputeRegionBackendServiceDestroyProducer (t ),
667667 Steps : []resource.TestStep {
668668 {
@@ -687,7 +687,6 @@ func TestAccComputeRegionBackendService_regionBackendServiceConnectionTrackingEx
687687func testAccComputeRegionBackendService_regionBackendServiceConnectionTrackingExample (context map [string ]interface {}) string {
688688 return acctest .Nprintf (`
689689resource "google_compute_region_backend_service" "default" {
690- provider = google-beta
691690 name = "%{region_backend_service_name}"
692691 region = "us-central1"
693692 health_checks = [google_compute_region_health_check.health_check.id]
@@ -699,12 +698,11 @@ resource "google_compute_region_backend_service" "default" {
699698 tracking_mode = "PER_SESSION"
700699 connection_persistence_on_unhealthy_backends = "NEVER_PERSIST"
701700 idle_timeout_sec = 60
702- enable_strong_affinity = true
701+ enable_strong_affinity = false
703702 }
704703}
705704
706705resource "google_compute_region_health_check" "health_check" {
707- provider = google-beta
708706 name = "%{health_check_name}"
709707 region = "us-central1"
710708
Original file line number Diff line number Diff line change @@ -377,7 +377,6 @@ resource "google_compute_subnetwork" "default" {
377377
378378``` hcl
379379resource "google_compute_region_backend_service" "default" {
380- provider = google-beta
381380 name = "region-service"
382381 region = "us-central1"
383382 health_checks = [google_compute_region_health_check.health_check.id]
@@ -389,12 +388,11 @@ resource "google_compute_region_backend_service" "default" {
389388 tracking_mode = "PER_SESSION"
390389 connection_persistence_on_unhealthy_backends = "NEVER_PERSIST"
391390 idle_timeout_sec = 60
392- enable_strong_affinity = true
391+ enable_strong_affinity = false
393392 }
394393}
395394
396395resource "google_compute_region_health_check" "health_check" {
397- provider = google-beta
398396 name = "rbs-health-check"
399397 region = "us-central1"
400398
@@ -958,7 +956,7 @@ The following arguments are supported:
958956 Structure is [ documented below] ( #nested_strong_session_affinity_cookie ) .
959957
960958* ` connection_tracking_policy ` -
961- (Optional, [ Beta ] ( ../guides/provider_versions.html.markdown ) )
959+ (Optional)
962960 Connection Tracking configuration for this BackendService.
963961 This is available only for Layer 4 Internal Load Balancing and
964962 Network Load Balancing.
You can’t perform that action at this time.
0 commit comments