From a5a2aceb0566c660c7f6ce0ceb49ae2bdf368dd5 Mon Sep 17 00:00:00 2001 From: sr33hari Date: Wed, 10 Jul 2024 18:00:12 -0700 Subject: [PATCH] variable names --- .gitignore | 2 +- main.tf | 2 +- variables.tf | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index c52910a..5f0ec1c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ +terraform.tfvars # Byte-compiled / optimized / DLL files __pycache__/ *.py[cod] @@ -164,4 +165,3 @@ cython_debug/ .DS_Store set_google_env.sh -terraform.tfvars \ No newline at end of file diff --git a/main.tf b/main.tf index c88e8d4..668f696 100644 --- a/main.tf +++ b/main.tf @@ -79,7 +79,7 @@ resource "google_compute_instance" "circle_instance" { image: ${var.region}-docker.pkg.dev/${var.project_id}/${var.repository_id}/circle-app:${var.image_tag} env: - name: MONGO_URI - value: ${var.mongo_uri} + value: ${var.MONGO_URI} - name: GOOGLE_TYPE value: ${var.GOOGLE_TYPE} - name: GOOGLE_PROJECT_ID diff --git a/variables.tf b/variables.tf index e8cc91e..43e1655 100644 --- a/variables.tf +++ b/variables.tf @@ -34,7 +34,7 @@ variable "image_tag" { default = "latest" } -variable "mongo_uri" { +variable "MONGO_URI" { description = "MongoDB URI for the application" type = string }