Skip to content

Latest commit

 

History

History
41 lines (37 loc) · 3.15 KB

File metadata and controls

41 lines (37 loc) · 3.15 KB

Inputs

Name Description Type Default Required
cloud_source_artifacts_repo_name Name to give the could source repository for Artifacts string n/a yes
cloud_source_service_catalog_repo_name Name to give the cloud source repository for Service Catalog string n/a yes
default_region Default region to create resources where applicable. string "us-central1" no
gcs_bucket_prefix Name prefix to be used for GCS Bucket string "bkt" no
key_rotation_period Rotation period in seconds to be used for KMS Key string "7776000s" no
keyring_name Name to be used for KMS Keyring string "sample-keyring" no
location_gcs Case-Sensitive Location for GCS Bucket string "US" no
location_kms Case-Sensitive Location for KMS Keyring string "us" no
prevent_destroy Prevent Project Key destruction. bool true no
project_budget Budget configuration.
budget_amount: The amount to use as the budget.
alert_spent_percents: A list of percentages of the budget to alert on when threshold is exceeded.
alert_pubsub_topic: The name of the Cloud Pub/Sub topic where budget related messages will be published, in the form of projects/{project_id}/topics/{topic_id}.
alert_spend_basis: The type of basis used to determine if spend has passed the threshold. Possible choices are CURRENT_SPEND or FORECASTED_SPEND (default).
object({
budget_amount = optional(number, 1000)
alert_spent_percents = optional(list(number), [1.2])
alert_pubsub_topic = optional(string, null)
alert_spend_basis = optional(string, "FORECASTED_SPEND")
})
{} no
remote_state_bucket Backend bucket to load Terraform Remote State Data from previous steps. string n/a yes
tfc_org_name Name of the TFC organization string "" no

Outputs

Name Description
apply_triggers_id CB apply triggers
artifact_buckets GCS Buckets to store Cloud Build Artifacts
artifacts_repo_id ID of the Artifacts repository
artifacts_repo_name The name of the Artifacts repository
cloudbuild_project_id n/a
common_artifacts_project_id App Infra Artifacts Project ID
default_region Default region to create resources where applicable.
enable_cloudbuild_deploy Enable infra deployment using Cloud Build.
log_buckets GCS Buckets to store Cloud Build logs
plan_triggers_id CB plan triggers
repos CSRs to store source code
service_catalog_project_id Service Catalog Project ID.
service_catalog_repo_id ID of the Service Catalog repository
service_catalog_repo_name The name of the Service Catalog repository
shared_level_keyrings Keyrings used on shared level project creation
state_buckets GCS Buckets to store TF state
terraform_service_accounts APP Infra Pipeline Terraform Accounts.