Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 842 Bytes

README.md

File metadata and controls

30 lines (22 loc) · 842 Bytes

streamlit-run

This is sample-codes for Streamlit apps on Cloud Run with Identity-Aware Proxy (IAP).

streamlit-run

Usage

  1. Create a terraform.tfvars file.

    project                  = "****************"
    region                   = "us-central1"
    zone                     = "us-central1-a"
    iap_client_id            = "****************"
    iap_client_secret        = "****************"
    lb-domain                = "your.domain.com"
    iapHttpsResourceAccessor = "set a google account"
    
  2. Execute commands below.

    make build-gcr
    cd ./terraform
    terraform plan
    terraform apply
  3. Set the IP address output as load_balancer_ip to DNS that manages your domain.