new glimpse approach
This commit is contained in:
15
variables.tf
Normal file
15
variables.tf
Normal file
@@ -0,0 +1,15 @@
|
||||
variable "environment" {
|
||||
description = "Deployment environment name"
|
||||
type = string
|
||||
default = "prod"
|
||||
}
|
||||
|
||||
variable "region" {
|
||||
description = "AWS region"
|
||||
type = string
|
||||
default = "us-east-1"
|
||||
}
|
||||
|
||||
locals {
|
||||
env = terraform.workspace == "default" ? "prod" : terraform.workspace
|
||||
}
|
||||
Reference in New Issue
Block a user