diff --git a/modules/s3/public/host/main.tf b/modules/s3/public/host/main.tf index d22f28f..6e7cd34 100644 --- a/modules/s3/public/host/main.tf +++ b/modules/s3/public/host/main.tf @@ -36,6 +36,5 @@ resource "aws_s3_bucket" "s3_bucket_website_hosting" { index_document = "${var.index_document}" error_document = "${var.error_document}" routing_rules = "${var.routing_rules}" - redirect_all_requests_to = "${var.redirect_all_requests_to}" } } \ No newline at end of file diff --git a/modules/s3/public/host/varaibles.tf b/modules/s3/public/host/varaibles.tf index 15cedf7..c717fca 100644 --- a/modules/s3/public/host/varaibles.tf +++ b/modules/s3/public/host/varaibles.tf @@ -50,8 +50,4 @@ variable "error_document" { variable "routing_rules" { default = "" -} - -variable "redirect_all_requests_to" { - default = "" } \ No newline at end of file