feat: Add new Terraform file and fix variable references in existing files
This commit is contained in:
parent
538fed9a66
commit
3e1146ee9d
4 changed files with 3 additions and 6 deletions
0
gcloud/tf/doit.tf
Normal file
0
gcloud/tf/doit.tf
Normal 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"
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue