feat: Add new Terraform file and fix variable references in existing files

This commit is contained in:
jon brookes 2025-09-08 17:01:14 +01:00
parent 538fed9a66
commit 3e1146ee9d
4 changed files with 3 additions and 6 deletions

0
gcloud/tf/doit.tf Normal file
View file

View file

@ -3,7 +3,7 @@
// The Artifact Registry repository for our app
resource "google_artifact_registry_repository" "app-repo" {
location = vas.region
location = var.region
repository_id = "app-repo"
description = "App Docker repository"
format = "DOCKER"

View file

@ -2,8 +2,8 @@
// ----------------------------------
# variable "bucket_name" {
# type = string
# default = "headshed-dev-lab-k3s-bucket"
# description = "headshed-dev-lab k3s Bucket"
# default = "your-project-name-k3s-bucket"
# description = "your-project-name k3s Bucket"
# }
# terraform {

View file

@ -13,19 +13,16 @@ variable "env" {
variable "region" {
type = string
default = vars.region
description = "GCP Region"
}
variable "zone" {
type = string
default = vars.zone
description = "GCP Zone"
}
variable "app_name" {
type = string
default = var.app_name
description = "Application name"
}