Files
garage/README.md
VC f96daf5c7a
Some checks failed
terraform-lint / terraform-lint (push) Failing after 0s
♻️: remove unused variables
2025-11-10 09:06:46 +01:00

22 lines
431 B
Markdown

# How to
The environment variables you need to have:
```bash
AWS_ACCESS_KEY_ID=<REDACTED>
AWS_SECRET_ACCESS_KEY=<REDACTED>
AWS_EC2_METADATA_DISABLED=1
GARAGE_TOKEN=<REDACTED>
```
To execute the first time:
```bash
tofu workspace new prd
tofu apply -var-file=vars/$(tofu workspace show)/terraform.tfvars
```
Afterwards:
```bash
tofu workspace select bck
tofu apply -var-file=vars/$(terraform workspace show)/terraform.tfvars
```