-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Expand file tree
/
Copy paths3.tf
More file actions
27 lines (24 loc) · 754 Bytes
/
s3.tf
File metadata and controls
27 lines (24 loc) · 754 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
provider "aws" {
region = "us-west-2"
}
resource "aws_s3_bucket" "dev_s3" {
bucket_prefix = "dev-"
tags = {
Environment = "Dev"
yor_name = "dev_s3"
yor_trace = "9b9caf8f-dc69-40ee-b7e9-cd55a60afa75"
git_commit = "e0fa0fba9a61fe1940c59bc7d8ac018ca9497702"
git_file = "code/build/s3.tf"
git_last_modified_at = "2025-04-06 21:21:41"
git_last_modified_by = "tomxu@udel.edu"
git_modifiers = "tomxu"
git_org = "xxl4tomxu98"
git_repo = "prisma-cloud-checkov-devsecops"
}
}
resource "aws_s3_bucket_ownership_controls" "dev_s3" {
bucket = aws_s3_bucket.dev_s3.id
rule {
object_ownership = "BucketOwnerPreferred"
}
}