From dcf9d7e3efbbe791db1a21de1dd21abf2ff22f81 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Sun, 10 Jan 2021 22:23:13 +0100 Subject: terraform in minio --- terraform-minio/root.tf | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 terraform-minio/root.tf (limited to 'terraform-minio/root.tf') diff --git a/terraform-minio/root.tf b/terraform-minio/root.tf new file mode 100644 index 0000000..9751f27 --- /dev/null +++ b/terraform-minio/root.tf @@ -0,0 +1,46 @@ +resource "minio_s3_bucket" "terraform" { + bucket = "terraform" + acl = "public-read-write" +} + +resource "minio_iam_policy" "terraform-access" { + name = "terraform-access" + policy= <