♻️: remove unused variables
All checks were successful
terraform-lint / terraform-lint (push) Successful in 3s

This commit is contained in:
VC
2025-11-10 09:06:46 +01:00
parent 65c3ea5727
commit 7ed247bdf3
2 changed files with 4 additions and 11 deletions

View File

@@ -6,17 +6,16 @@ AWS_ACCESS_KEY_ID=<REDACTED>
AWS_SECRET_ACCESS_KEY=<REDACTED> AWS_SECRET_ACCESS_KEY=<REDACTED>
AWS_EC2_METADATA_DISABLED=1 AWS_EC2_METADATA_DISABLED=1
GARAGE_TOKEN=<REDACTED> GARAGE_TOKEN=<REDACTED>
TF_VAR_env=prd
``` ```
To execute the first time: To execute the first time:
```bash ```bash
tofu workspace new ${TF_VAR_env} tofu workspace new bck
tofu apply -var-file=vars/${TF_VAR_env}/terraform.tfvars tofu apply -var-file=vars/$(tofu workspace show)/terraform.tfvars
``` ```
Afterwards: Afterwards:
```bash ```bash
tofu workspace select ${TF_VAR_env} tofu workspace select bck
tofu apply -var-file=vars/${TF_VAR_env}/terraform.tfvars tofu apply -var-file=vars/$(terraform workspace show)/terraform.tfvars
``` ```

View File

@@ -26,9 +26,3 @@ variable "buckets" {
})) }))
})) }))
} }
variable "env" {
description = "The target env for Garage configuration"
type = string
default = "prd"
}