diff --git a/README.md b/README.md index 068015d..5dcb241 100644 --- a/README.md +++ b/README.md @@ -84,7 +84,8 @@ module "s3-bucket" { | lifecycle_rule | Lifecycle rules | object | `null` | no | | log_bucket | Bucket for server access logging, if applicable | string | "" | no | | log_prefix | Prefix to use for server access logging, if applicable | string | "" | no | -| replication_role_arn | IAM Role ARN for replication. See below for more information | string | | yes | +| replication_role_arn | IAM Role ARN for replication. See below for more information (Required if | | | | +| | 'replication enabled' variable is set to true) | string | "" | depends | | tags | Tags to apply to resources, where applicable | map | | yes | diff --git a/variables.tf b/variables.tf index da02966..7f38dc2 100644 --- a/variables.tf +++ b/variables.tf @@ -56,6 +56,7 @@ variable "log_prefix" { variable "replication_role_arn" { type = string description = "Role ARN to access S3 and replicate objects" + default = "" } variable "tags" {