From cc24383f23119d57882142a394b04dd343db12eb Mon Sep 17 00:00:00 2001 From: teutat3s Date: Sun, 29 Oct 2023 12:46:46 +0100 Subject: [PATCH] fix: add account and url to manta remote state backend, only TRITON_KEY_ID required in env now. Also add .terraform to gitignore and add terraform lock file --- .gitignore | 3 ++- terraform/.terraform.lock.hcl | 23 +++++++++++++++++++++++ terraform/remote-backend.tf | 2 ++ 3 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 terraform/.terraform.lock.hcl diff --git a/.gitignore b/.gitignore index cf86910..44f0c69 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ *.tf.json /tags.* -.direnv \ No newline at end of file +.direnv +.terraform diff --git a/terraform/.terraform.lock.hcl b/terraform/.terraform.lock.hcl new file mode 100644 index 0000000..e007f5b --- /dev/null +++ b/terraform/.terraform.lock.hcl @@ -0,0 +1,23 @@ +# This file is maintained automatically by "terraform init". +# Manual edits may be lost in future updates. + +provider "registry.terraform.io/namecheap/namecheap" { + version = "2.1.0" + constraints = "2.1.0" + hashes = [ + "h1:p8LqzJtI4Mkxhcam2s73eFJzctlAZXZJ0Wwgd51Kyto=", + "zh:3731f5f14a0958cd27a589ef7daa9be786b6490f2309c429eb2e9862aa4ac5f7", + "zh:3cbceb12ec3521d9dfbd890eee731a40f4e1f42de30d28fc1d1e524091148caa", + "zh:44095af1b1d1ee6d4b930e21e3c5bf0f81d9df65fe04f6f1e55d46713c240b21", + "zh:693e169228fe0c5fb1989425b1ad42c1206f8187c9932b4daee5a5c5e851a28e", + "zh:6b04c3c2666db3050f49bc85151496fe33cf852db9ad8fc6f455d1daf0a2bba6", + "zh:85fd126a573cc468f8d5d1b90f4a94f5977ea40623b1c5cd7c799bb95ef233bd", + "zh:99014437ef4e96161b0029efa12f05fa1ab63ff9bc0a255b0a249e17b4f8587a", + "zh:a4d8288ef01d4002a5aa07d1e64e4504757f07d6ada24fbf7d3670ceb24d2871", + "zh:d27f7798cbe1957294bb08459b1fbabe68721cc9cc50afee80bda87ce674dab8", + "zh:d85483f90380829d05b8a2725ce50bf2ee766d6c1cbef223b388d19c5a92dce2", + "zh:ddfecfbefd32e40386b482a2610e4173a52591afea3861f041041439d51d34da", + "zh:f9a10edfe11dbc4947cbb2f0db8935050693d5fff3b6559096288c689c2dd847", + "zh:fae14a74781a94bcaac07b6d533dd9eb1e40c1d152eb6ee49b2a44cdf5740cfe", + ] +} diff --git a/terraform/remote-backend.tf b/terraform/remote-backend.tf index fcfa35d..ec9f804 100644 --- a/terraform/remote-backend.tf +++ b/terraform/remote-backend.tf @@ -3,5 +3,7 @@ terraform { backend "manta" { path = "pub-solar/nachtigall" object_name = "terraform.tfstate" + account = "pub_solar" + url = "https://eu-central.manta.greenbaum.cloud" } }