From 54bc8629bcea3e970583b5c98375c355b9aad0eb Mon Sep 17 00:00:00 2001 From: garland-kan-sage <92883807+garland-kan-sage@users.noreply.github.com> Date: Thu, 10 Feb 2022 13:05:27 -0800 Subject: [PATCH] Removing provider (#251) Letting the instantiator to define it --- terraform-modules/aws/s3_bucket/main.tf | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/terraform-modules/aws/s3_bucket/main.tf b/terraform-modules/aws/s3_bucket/main.tf index b8a45b649..906824dde 100644 --- a/terraform-modules/aws/s3_bucket/main.tf +++ b/terraform-modules/aws/s3_bucket/main.tf @@ -1,7 +1,3 @@ -provider "aws" { - region = var.aws_region -} - resource "aws_s3_bucket" "bucket" { bucket = var.bucket acl = var.acl @@ -27,4 +23,4 @@ resource "aws_s3_bucket_public_access_block" "acl" { ignore_public_acls = var.ignore_public_acls restrict_public_buckets = var.restrict_public_buckets -} \ No newline at end of file +}