Terraform disclaimer.

This commit is contained in:
Arda Özdere 2023-04-03 22:18:24 +02:00
parent ee2e807b88
commit bd64cf43b4
6 changed files with 23 additions and 0 deletions

View file

@ -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

View file

@ -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"

View file

@ -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" {

View file

@ -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
###-----------------------------------------------------------------------------

View file

@ -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
}

View file

@ -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
###-----------------------------------------------------------------------------