Update : add backend
All checks were successful
terraform validation / Terraform (push) Successful in 12s

This commit is contained in:
Hubert Cornet 2025-01-19 10:52:54 +01:00
parent c9357e490d
commit a639ab09f8
3 changed files with 10 additions and 1 deletions

3
.gitignore vendored
View File

@ -18,6 +18,9 @@
# Local .terraform directories # Local .terraform directories
**/.terraform/* **/.terraform/*
# Local .state directories
**/state/*
# .tfstate files # .tfstate files
*.tfstate *.tfstate
*.tfstate.* *.tfstate.*

View File

@ -1,3 +1,4 @@
data "vault_generic_secret" "cloudflare" { data "vault_generic_secret" "cloudflare" {
path = "secret/cloudflare" path = "secret/cloudflare"
} }

5
state.tf Normal file
View File

@ -0,0 +1,5 @@
terraform {
backend "local" {
path = "state/terraform.tfstate"
}
}