env-setup-portal/variables.tf (55 lines of code) (raw):

# Copyright 2021 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. variable "oauth2_client_id" { description = "CLIENT_ID from OAuth Consent Screen" type = string } variable "oauth2_client_secret" { description = "CLIENT_SECRET from OAuth Consent Screen" type = string } variable "flask_secret" { description = "Any random string sequence required by Flask backend" type = string } variable "project_id" { description = "The GCP project ID" type = string } variable "region" { description = "The GCP region" type = string } variable "zone" { description = "GCP zone" type = string } variable "cloud_run_service_name" { description = "The Cloud Run instance name" type = string default = "alphafoldportal" } variable "ar_repo_name" { description = "Artifact Registry to store Cloud Run image and AF KFP images" type = string } variable "is_gcr_io_repo" { description = "Flag to support gcr.io alphafold_components legacy hosting" type = string } variable "filestore_instance_id" { description = "Filestore ID from Alphafold Inference Pipeline .tfvars file" type = string } variable "gcs_bucket_name" { description = "Cloud Storage bucket name" type = string } variable "machine_type" { description = "The pipeline instance's machine type" type = string default = "g2-standard-16" } variable "predict_accelerator_count" { description = "The pipeline's prediction acelerator count" type = string default = "1" }