Skip to content

Commit

Permalink
fix: pass direct value in name and env of bucket in examlpe
Browse files Browse the repository at this point in the history
  • Loading branch information
nileshgadgi committed Jul 19, 2023
1 parent dd0c134 commit 3730c0f
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions _example/example.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,12 @@ provider "aws" {

data "aws_caller_identity" "current" {}

locals {
environment = "security"
bucket_name = "bucket-logs"
}

module "s3_logs" {
source = "clouddrove/s3/aws"
version = "1.3.0"

name = local.bucket_name
environment = local.environment
name = "bucket-logs"
environment = "security"
label_order = ["name", "environment"]
versioning = true
acl = "log-delivery-write"
Expand Down

0 comments on commit 3730c0f

Please sign in to comment.