Skip to content

Commit

Permalink
Moves projects bucket out cloud build sectin
Browse files Browse the repository at this point in the history
  • Loading branch information
amandakarina committed Aug 19, 2024
1 parent 2bfe7c2 commit 9e038ef
Showing 1 changed file with 5 additions and 20 deletions.
25 changes: 5 additions & 20 deletions 0-bootstrap/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,11 @@ output "gcs_bucket_tfstate" {
value = module.seed_bootstrap.gcs_bucket_tfstate
}

output "projects_gcs_bucket_tfstate" {
description = "Bucket used for storing terraform state for stage 4-projects foundations pipelines in seed project."
value = module.gcp_projects_state_bucket.bucket.name
}

output "common_config" {
description = "Common configuration data to be used in other steps."
value = {
Expand Down Expand Up @@ -96,11 +101,6 @@ output "gcs_bucket_cloudbuild_logs" {
value = { for key, value in module.tf_workspace : key => replace(value.logs_bucket, local.bucket_self_link_prefix, "") }
}

output "projects_gcs_bucket_tfstate" {
description = "Bucket used for storing terraform state for stage 4-projects foundations pipelines in seed project."
value = module.gcp_projects_state_bucket.bucket.name
}

output "cloud_builder_artifact_repo" {
description = "Artifact Registry (AR) Repository created to store TF Cloud Builder images."
value = "projects/${module.tf_source.cloudbuild_project_id}/locations/${var.default_region}/repositories/${module.tf_cloud_builder.artifact_repo}"
Expand Down Expand Up @@ -146,11 +146,6 @@ output "cloud_build_peered_network_id" {
# value = module.gh_cicd.project_id
# }

# output "projects_gcs_bucket_tfstate" {
# description = "Bucket used for storing terraform state for stage 4-projects foundations pipelines in seed project."
# value = module.seed_bootstrap.gcs_bucket_tfstate
# }

/* ----------------------------------------
Specific to jenkins_bootstrap module
---------------------------------------- */
Expand All @@ -170,11 +165,6 @@ output "cloud_build_peered_network_id" {
# value = module.jenkins_bootstrap.jenkins_agent_vpc_id
# }

# output "projects_gcs_bucket_tfstate" {
# description = "Bucket used for storing terraform state for stage 4-projects foundations pipelines in seed project."
# value = module.seed_bootstrap.gcs_bucket_tfstate
# }

# output "jenkins_agent_sa_email" {
# description = "Email for privileged custom service account for Jenkins Agent GCE instance."
# value = module.jenkins_bootstrap.jenkins_agent_sa_email
Expand All @@ -199,11 +189,6 @@ output "cloud_build_peered_network_id" {
# value = module.gitlab_cicd.project_id
# }

# output "projects_gcs_bucket_tfstate" {
# description = "Bucket used for storing terraform state for stage 4-projects foundations pipelines in seed project."
# value = module.seed_bootstrap.gcs_bucket_tfstate
# }

/* ----------------------------------------
Specific to tfc_bootstrap
---------------------------------------- */
Expand Down

0 comments on commit 9e038ef

Please sign in to comment.