Move state to Consul and pin providers better

Signed-off-by: main <magic_rb@redalder.org>
This commit is contained in:
main 2022-07-31 22:41:34 +02:00 committed by Magic_RB
parent 5294cd2714
commit 98d8fcf886
No known key found for this signature in database
GPG key ID: 08D5287CC5DDCA0E
2 changed files with 7 additions and 16 deletions

7
terraform/state.tf Normal file
View file

@ -0,0 +1,7 @@
terraform {
backend "consul" {
address = "10.64.1.201:8500"
scheme = "http"
path = "terraform/dotfiles"
}
}

View file

@ -1,16 +0,0 @@
terraform {
required_providers {
vault = {
source = "hashicorp/vault"
version = "~> 3.7.0"
}
consul = {
source = "hashicorp/consul"
version = "~> 2.15.0"
}
external = {
source = "hashicorp/external"
version = "~> 2.2.0"
}
}
}