diff options
Diffstat (limited to 'terraform')
l--------- | terraform/dns/terraform.d | 1 | ||||
-rw-r--r-- | terraform/main.tf | 12 | ||||
-rw-r--r-- | terraform/minio/README.md | 3 |
3 files changed, 13 insertions, 3 deletions
diff --git a/terraform/dns/terraform.d b/terraform/dns/terraform.d deleted file mode 120000 index 11a3f4b..0000000 --- a/terraform/dns/terraform.d +++ /dev/null @@ -1 +0,0 @@ -../terraform.d
\ No newline at end of file diff --git a/terraform/main.tf b/terraform/main.tf index 853a87d..71db6a8 100644 --- a/terraform/main.tf +++ b/terraform/main.tf @@ -1,8 +1,16 @@ terraform { required_version = ">= 0.13" - backend "local" { - path = "../state/dns" + backend "s3" { + key = "trygvis-infra" + region = "us-east-1" + bucket = "terraform" + endpoint = "https://minio.trygvis.io" + + skip_credentials_validation = true + skip_metadata_api_check = true + skip_region_validation = true + force_path_style = true } required_providers { diff --git a/terraform/minio/README.md b/terraform/minio/README.md new file mode 100644 index 0000000..18a7202 --- /dev/null +++ b/terraform/minio/README.md @@ -0,0 +1,3 @@ +# Using `mc` directly instead of Terraform + + export MC_HOST_<alias>=https://<Access Key>:<Secret Key>@<YOUR-S3-ENDPOINT> |