diff --git a/app/app-config.sandbox.yaml b/app/app-config.sandbox.yaml index 7301069..b614d2b 100644 --- a/app/app-config.sandbox.yaml +++ b/app/app-config.sandbox.yaml @@ -30,7 +30,13 @@ backend: auth: providers: - guest: {} + gcpIap: + audience: '/projects/362793201562/global/backendServices/k8s-ig--edd854c497a47e5f' + # jwtHeader: x-custom-header # Optional: Only if you are using a custom header for the IAP JWT + signIn: + resolvers: + # See https://backstage.io/docs/auth/google/gcp-iap-auth#resolvers for more resolvers + - resolver: emailMatchingUserEntityAnnotation catalog: # Overrides the default list locations from app-config.yaml as these contain example data. diff --git a/deployments/README.md b/deployments/README.md index a0780f5..38fc7d4 100755 --- a/deployments/README.md +++ b/deployments/README.md @@ -25,7 +25,6 @@ No requirements. |------|------| | [google_iap_brand.this](https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/iap_brand) | resource | | [google_iap_client.this](https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/iap_client) | resource | -| [google_iap_web_iam_binding.this](https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/iap_web_iam_binding) | resource | ## Inputs diff --git a/deployments/main.tf b/deployments/main.tf index c56fba6..bec8f96 100755 --- a/deployments/main.tf +++ b/deployments/main.tf @@ -65,19 +65,3 @@ resource "google_iap_client" "this" { brand = google_iap_brand.this.name display_name = "Backstage" } - -# IAP Web IAM Binding Resource -# https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/iap_web_iam - -resource "google_iap_web_iam_binding" "this" { - - members = [ - "domain:osinfra.io" - ] - - project = module.project.id - - # Authoritative for a given role. - - role = "roles/iap.httpsResourceAccessor" -}