From 6207a285d717fc48ea73e0956ab10729eebb3329 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Sun, 4 Dec 2022 19:53:32 +0100 Subject: Cleaning up terraform/ --- terraform/modules/minio-pg-backup/main.tf | 63 ------------------------------- terraform/modules/minio-pg-backup/vars.tf | 3 -- 2 files changed, 66 deletions(-) delete mode 100644 terraform/modules/minio-pg-backup/main.tf delete mode 100644 terraform/modules/minio-pg-backup/vars.tf (limited to 'terraform/modules/minio-pg-backup') diff --git a/terraform/modules/minio-pg-backup/main.tf b/terraform/modules/minio-pg-backup/main.tf deleted file mode 100644 index f9e774a..0000000 --- a/terraform/modules/minio-pg-backup/main.tf +++ /dev/null @@ -1,63 +0,0 @@ -terraform { - required_providers { - minio = { - source = "tidalf/minio" - version = "1.1.1" - } - } -} - -resource "minio_iam_user" "sender" { - name = "pg-backup-${var.id}-sender" -# update_secret = true -} - -resource "minio_s3_bucket" "bucket" { - bucket = "pg-backup-${var.id}" - acl = "public" -} - -resource "minio_iam_policy" "sender" { - name = minio_iam_user.sender.id - policy= <