Skip to content

Commit

Permalink
Prisma Cloud [bot] commented
Browse files Browse the repository at this point in the history
  • Loading branch information
prisma-cloud-devsecops[bot] authored Dec 31, 2023
1 parent 97c9ab8 commit 10cfc5c
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions files/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,19 @@ resource "aws_s3_bucket" "data" {
tags = {
Name = "${local.resource_prefix.value}-data"
Environment = local.resource_prefix.value
yor_trace = "d0ca04a3-1c2a-4624-9671-ab73dd9ce957"
}
}

resource "aws_s3_bucket_object" "data_object" {
bucket = aws_s3_bucket.data.id
region = "us-west-2"
region = "us-west-2"
key = "customer-master.xlsx"
source = "resources/customer-master.xlsx"
tags = {
Name = "${local.resource_prefix.value}-customer-master"
Environment = local.resource_prefix.value
yor_trace = "821396c3-cf06-41df-b1e7-9df7a54168c7"
}
}

Expand All @@ -35,6 +37,7 @@ resource "aws_s3_bucket" "financials" {
tags = {
Name = "${local.resource_prefix.value}-financials"
Environment = local.resource_prefix.value
yor_trace = "b11aed51-b611-4870-a78c-05f2799fae88"
}

}
Expand All @@ -43,7 +46,7 @@ resource "aws_s3_bucket" "operations" {
# bucket is not encrypted
# bucket does not have access logs
bucket = "${local.resource_prefix.value}-operations"
region = "us-west-2"
region = "us-west-2"
acl = "private"
versioning {
enabled = true
Expand All @@ -52,14 +55,15 @@ resource "aws_s3_bucket" "operations" {
tags = {
Name = "${local.resource_prefix.value}-operations"
Environment = local.resource_prefix.value
yor_trace = "5e226628-9c0d-4d73-82db-4ba66d8d188c"
}

}

resource "aws_s3_bucket" "data_science" {
# bucket is not encrypted
bucket = "${local.resource_prefix.value}-data-science"
region = "us-west-2"
region = "us-west-2"
acl = "private"
versioning {
enabled = true
Expand All @@ -69,6 +73,9 @@ resource "aws_s3_bucket" "data_science" {
target_prefix = "log/"
}
force_destroy = true
tags = {
yor_trace = "133b533d-d8c4-441f-82c3-fea29047c451"
}
}

resource "aws_s3_bucket" "logs" {
Expand All @@ -90,5 +97,6 @@ resource "aws_s3_bucket" "logs" {
tags = {
Name = "${local.resource_prefix.value}-logs"
Environment = local.resource_prefix.value
yor_trace = "4206717f-10d8-411e-baa8-906c0d4a2fd4"
}
}

0 comments on commit 10cfc5c

Please sign in to comment.