From 67cf25036320e0bdca61dae191c81d4a641534d3 Mon Sep 17 00:00:00 2001 From: Ruwin Ratnayake Date: Fri, 4 Oct 2024 12:34:52 +0530 Subject: [PATCH] Add variables related to bucket ownership controls --- modules/aws/S3-Account/variables.tf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/aws/S3-Account/variables.tf b/modules/aws/S3-Account/variables.tf index 31432aa..fe5b39c 100644 --- a/modules/aws/S3-Account/variables.tf +++ b/modules/aws/S3-Account/variables.tf @@ -34,6 +34,11 @@ variable "acl" { type = string description = "ACL to be applied to the bucket" } +variable "object_ownership" { + type = string + description = "Bucket ownership controls" + default = "BucketOwnerPreferred" +} variable "block_public_acls" { type = bool description = "Block public access to the bucket"