Skip to content

Commit

Permalink
added examples
Browse files Browse the repository at this point in the history
  • Loading branch information
zachreborn committed Nov 24, 2023
1 parent 3d071b7 commit 5e37bea
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion modules/aws/s3/bucket/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -299,8 +299,13 @@ variable "index_document" {

variable "redirect_all_requests_to" {
type = any
description = "(Optional) A hostname to redirect all website requests for this bucket to. Hostname can optionally be prefixed with a protocol (http:// or https://) to use when redirecting requests. The default is the protocol that is used in the original request."
description = "(Optional) A map with hostname to redirect all website requests for this bucket to. The default is the protocol that is used in the original request."
default = null
# Example:
# redirect_all_requests_to = {
# host_name = "www.example.com"
# protocol = "https"
# }
}

variable "routing_rules" {
Expand Down

0 comments on commit 5e37bea

Please sign in to comment.