This is sample-codes for Streamlit apps on Cloud Run with Identity-Aware Proxy (IAP).
-
Create a
terraform.tfvarsfile.project = "****************" region = "us-central1" zone = "us-central1-a" iap_client_id = "****************" iap_client_secret = "****************" lb-domain = "your.domain.com" iapHttpsResourceAccessor = "set a google account" -
Execute commands below.
make build-gcr cd ./terraform terraform plan terraform apply -
Set the IP address output as
load_balancer_ipto DNS that manages your domain.
