Skip to content

Commit

Permalink
fix: Key host_name on website routing rules redirect (#152)
Browse files Browse the repository at this point in the history
  • Loading branch information
0xDones committed Apr 26, 2022
1 parent 23f06b3 commit 3ca8327
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ resource "aws_s3_bucket_website_configuration" "this" {
}

redirect {
host_name = try(routing_rule.value.redirect["hostname"], null)
host_name = try(routing_rule.value.redirect["host_name"], null)
http_redirect_code = try(routing_rule.value.redirect["http_redirect_code"], null)
protocol = try(routing_rule.value.redirect["protocol"], null)
replace_key_prefix_with = try(routing_rule.value.redirect["replace_key_prefix_with"], null)
Expand Down

0 comments on commit 3ca8327

Please sign in to comment.