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
This commit is contained in:
teutat3s 2023-10-29 12:46:46 +01:00 committed by b12f
parent 0cc3926aac
commit cc24383f23
Signed by: pub.solar gitea
GPG key ID: F0332B04B7054873
3 changed files with 27 additions and 1 deletions

1
.gitignore vendored
View file

@ -1,3 +1,4 @@
*.tf.json *.tf.json
/tags.* /tags.*
.direnv .direnv
.terraform

View file

@ -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",
]
}

View file

@ -3,5 +3,7 @@ terraform {
backend "manta" { backend "manta" {
path = "pub-solar/nachtigall" path = "pub-solar/nachtigall"
object_name = "terraform.tfstate" object_name = "terraform.tfstate"
account = "pub_solar"
url = "https://eu-central.manta.greenbaum.cloud"
} }
} }