diff --git a/terraform/atlas.tf b/terraform/atlas.tf index 3013b06..bc93945 100644 --- a/terraform/atlas.tf +++ b/terraform/atlas.tf @@ -1,3 +1,7 @@ +# The terraform code in this repo is based on the official tutorial from the following link +# https://cloud.google.com/blog/topics/developers-practitioners/easy-deployment-mean-stack-w-mongodb-atlas-cloud-run-and-hashicorp-terraform +# The rest of the steps can be followed up from there. + provider "mongodbatlas" { public_key = var.atlas_pub_key private_key = var.atlas_priv_key diff --git a/terraform/ci-cd.tf b/terraform/ci-cd.tf index 3517714..2152f30 100644 --- a/terraform/ci-cd.tf +++ b/terraform/ci-cd.tf @@ -1,3 +1,6 @@ +# The terraform code in this repo is based on the official tutorial from the following link +# https://cloud.google.com/blog/topics/developers-practitioners/easy-deployment-mean-stack-w-mongodb-atlas-cloud-run-and-hashicorp-terraform +# The rest of the steps can be followed up from there. resource "google_project_service" "ci_cd" { project = google_project.prj.name service = "${each.value}.googleapis.com" diff --git a/terraform/google.tf b/terraform/google.tf index b92a55d..dd357c7 100644 --- a/terraform/google.tf +++ b/terraform/google.tf @@ -1,3 +1,7 @@ +# The terraform code in this repo is based on the official tutorial from the following link +# https://cloud.google.com/blog/topics/developers-practitioners/easy-deployment-mean-stack-w-mongodb-atlas-cloud-run-and-hashicorp-terraform +# The rest of the steps can be followed up from there. + provider "google" {} resource "google_project" "prj" { diff --git a/terraform/main.tf b/terraform/main.tf index c269713..566542e 100644 --- a/terraform/main.tf +++ b/terraform/main.tf @@ -1,3 +1,7 @@ +# The terraform code in this repo is based on the official tutorial from the following link +# https://cloud.google.com/blog/topics/developers-practitioners/easy-deployment-mean-stack-w-mongodb-atlas-cloud-run-and-hashicorp-terraform +# The rest of the steps can be followed up from there. + ###----------------------------------------------------------------------------- ### configure terraform ###----------------------------------------------------------------------------- diff --git a/terraform/outputs.tf b/terraform/outputs.tf index d7beaa7..e7c6cbd 100644 --- a/terraform/outputs.tf +++ b/terraform/outputs.tf @@ -1,3 +1,7 @@ +# The terraform code in this repo is based on the official tutorial from the following link +# https://cloud.google.com/blog/topics/developers-practitioners/easy-deployment-mean-stack-w-mongodb-atlas-cloud-run-and-hashicorp-terraform +# The rest of the steps can be followed up from there. + output "app_url" { value = google_cloud_run_service.app.status[0].url } diff --git a/terraform/variables.tf b/terraform/variables.tf index 4c59fc2..6e9580f 100644 --- a/terraform/variables.tf +++ b/terraform/variables.tf @@ -1,3 +1,7 @@ +# The terraform code in this repo is based on the official tutorial from the following link +# https://cloud.google.com/blog/topics/developers-practitioners/easy-deployment-mean-stack-w-mongodb-atlas-cloud-run-and-hashicorp-terraform +# The rest of the steps can be followed up from there. + ###----------------------------------------------------------------------------- ### general config ###-----------------------------------------------------------------------------