diff --git a/backend_service_external_iap/main.tf b/backend_service_external_iap/main.tf index 543ab8dd..daf4619f 100644 --- a/backend_service_external_iap/main.tf +++ b/backend_service_external_iap/main.tf @@ -3,6 +3,7 @@ resource "google_compute_backend_service" "default" { protocol = "HTTP" load_balancing_scheme = "EXTERNAL" iap { + enabled = true oauth2_client_id = "abc" oauth2_client_secret = "xyz" } diff --git a/region_backend_service_external_iap/main.tf b/region_backend_service_external_iap/main.tf index b3b5ae37..08439a7c 100644 --- a/region_backend_service_external_iap/main.tf +++ b/region_backend_service_external_iap/main.tf @@ -4,6 +4,7 @@ resource "google_compute_region_backend_service" "default" { protocol = "HTTP" load_balancing_scheme = "EXTERNAL" iap { + enabled = true oauth2_client_id = "abc" oauth2_client_secret = "xyz" }