diff --git a/.gitignore b/.gitignore index 47f378b..01d4e3c 100644 --- a/.gitignore +++ b/.gitignore @@ -45,4 +45,7 @@ terraform.rc # ---------------------------------------------------------------------------- # -# Custom ignores. \ No newline at end of file +# Custom ignores. + +*.tfvars +*.tfbackend \ No newline at end of file diff --git a/Taskfile.yml b/Taskfile.yml index 984cb1f..52478ec 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -4,12 +4,12 @@ env: { TF: terraform -chdir=terraform } silent: true tasks: - tf/init: $TF init -backend-config=../secrets/backend.json + tf/init: $TF init -backend-config=s3.tfbackend tf/plan: $TF plan tf/destroy: $TF destroy tf/format: $TF fmt -recursive tf/apply: - $TF apply - - $TF output -json > secrets/terraform.json + - $TF output -json > terraform.secrets action: act -W .gitea/workflows --container-architecture linux/amd64 \ No newline at end of file diff --git a/terraform/.terraform.lock.hcl b/terraform/.terraform.lock.hcl deleted file mode 100644 index 7eed625..0000000 --- a/terraform/.terraform.lock.hcl +++ /dev/null @@ -1,24 +0,0 @@ -# This file is maintained automatically by "terraform init". -# Manual edits may be lost in future updates. - -provider "registry.terraform.io/hashicorp/aws" { - version = "5.83.0" - hashes = [ - "h1:uh/57vwauk96J9HjqvjmWV9sLXbX0YXbYnqUBWooiwQ=", - "zh:03a1d4cb151efd9279a3348ecb5e26fe99eb5d217b254e544c7f768a03020d0e", - "zh:07637e75abd0809454d9b51b4499059e6fd3eb58d4723c99bc71d21595a9b897", - "zh:415868ead3d9b9527418c68468972dd0c9614e69240133d8b1d77641259eb396", - "zh:52f343f08881fc88fcbd731cdf480c02edd6eb335934107bbcfb0d97c2a575df", - "zh:60d19aed16142fce6fd95087d9de8d8f59681db98588f9384112045ce533f3ce", - "zh:62775ba5933b41d00df59fe7ae02027d328ccedc06ff5363ff8d2f48633c4012", - "zh:95c7a13b5ef625a672f0ac94d1a20858f60bf09a6517b180f031b707f37d862d", - "zh:9adf0d9f349e692b9f51375713c316d28d217f72d2b86deb49e48c3834a41539", - "zh:9b12af85486a96aedd8d7984b0ff811a4b42e3d88dad1a3fb4c0b580d04fa425", - "zh:b605deb6d3eff97218b6b16b153038ac8e7bd0b8506ae469f2368281dca46cab", - "zh:b8542b3672bca0c6ed522b8f65d92ef5720786301abc7d7dae07f07296398b4c", - "zh:d975790f409234f9791633adba3ffcfbb2526bc04aed1f379fc8f90370366907", - "zh:e621bd43f3a46f122ec450828d590ee2f34c0be5603120876ddfc218861b1802", - "zh:e87e2989e99aa21bbfdb603e1325afe11af126684c64821eca8d014f8b762ca5", - "zh:f7f6f149d6e1e9d4b979b23b248df14bfe3c497052ec41a6dd40d19bcd9cde9a", - ] -}