aboutsummaryrefslogtreecommitdiff
path: root/terraform
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2021-08-14 16:57:01 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2021-08-14 16:57:01 +0200
commit541c1a13ba0f76449f748e6c8edd1473afede095 (patch)
treedf34b6036e39f1260619a64035fadc238ca8398d /terraform
parent80c5076e76bbe93048e9f78e120c1ee9965f6728 (diff)
downloadinfra-541c1a13ba0f76449f748e6c8edd1473afede095.tar.gz
infra-541c1a13ba0f76449f748e6c8edd1473afede095.tar.bz2
infra-541c1a13ba0f76449f748e6c8edd1473afede095.tar.xz
infra-541c1a13ba0f76449f748e6c8edd1473afede095.zip
terraform fmt
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,
}
}