aboutsummaryrefslogtreecommitdiff
path: root/terraform
diff options
context:
space:
mode:
Diffstat (limited to 'terraform')
-rw-r--r--terraform/main.tf30
1 files changed, 15 insertions, 15 deletions
diff --git a/terraform/main.tf b/terraform/main.tf
index 64803f6..f3f0ddb 100644
--- a/terraform/main.tf
+++ b/terraform/main.tf
@@ -2,30 +2,30 @@ terraform {
required_version = ">= 0.13"
backend "s3" {
- key = "trygvis-infra"
- region = "us-east-1"
- bucket = "terraform"
+ 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
+ skip_metadata_api_check = true
+ skip_region_validation = true
+ force_path_style = true
}
required_providers {
linode = {
version = "~> 1.13"
- source = "linode/linode"
+ source = "linode/linode"
}
ansiblevault = {
- version = "~> 2.2"
- source = "MeilleursAgents/ansiblevault"
+ version = "~> 2.2"
+ source = "MeilleursAgents/ansiblevault"
}
minio = {
- source = "tidalf/minio"
+ source = "tidalf/minio"
version = "1.1.1"
}
}
@@ -49,8 +49,8 @@ data "ansiblevault_path" "minio_secret_key" {
}
provider "minio" {
- minio_server = "minio.trygvis.io:443"
- minio_ssl = "true"
+ minio_server = "minio.trygvis.io:443"
+ minio_ssl = "true"
minio_access_key = data.ansiblevault_path.minio_access_key.value
minio_secret_key = data.ansiblevault_path.minio_secret_key.value
}
@@ -64,12 +64,12 @@ module "dns" {
module "pg-backup-knot" {
source = "./modules/minio-pg-backup"
- id = "knot"
+ id = "knot"
}
output "pg_backup_knot" {
value = {
- sender: module.pg-backup-knot.sender,
- bucket: module.pg-backup-knot.bucket,
+ sender : module.pg-backup-knot.sender,
+ bucket : module.pg-backup-knot.bucket,
}
}