Skip to content

Commit

Permalink
fix: Fixed routing rule condition (#270)
Browse files Browse the repository at this point in the history
  • Loading branch information
magreenbaum authored Jan 13, 2024
1 parent 12361ab commit 116f79b
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion examples/complete-legacy/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Once this configuration is created, you need to use the newer version of this mo

| Name | Version |
|------|---------|
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 0.13.1 |
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.0 |
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | ~> 3.69.0 |
| <a name="requirement_random"></a> [random](#requirement\_random) | >= 2.0 |

Expand Down
2 changes: 1 addition & 1 deletion examples/complete-legacy/versions.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
terraform {
required_version = ">= 0.13.1"
required_version = ">= 1.0"

required_providers {
aws = {
Expand Down
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ resource "aws_s3_bucket_website_configuration" "this" {

content {
dynamic "condition" {
for_each = [try([routing_rule.value.condition], [])]
for_each = try([routing_rule.value.condition], [])

content {
http_error_code_returned_equals = try(routing_rule.value.condition["http_error_code_returned_equals"], null)
Expand Down
2 changes: 1 addition & 1 deletion modules/notification/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Creates S3 bucket notification resource with all supported types of deliveries:

| Name | Version |
|------|---------|
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 0.13.1 |
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.0 |
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 3.74 |

## Providers
Expand Down
2 changes: 1 addition & 1 deletion modules/notification/versions.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
terraform {
required_version = ">= 0.13.1"
required_version = ">= 1.0"

required_providers {
aws = {
Expand Down
2 changes: 1 addition & 1 deletion modules/object/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Creates S3 bucket objects with different configurations.

| Name | Version |
|------|---------|
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 0.13.1 |
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.0 |
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 3.75 |

## Providers
Expand Down
2 changes: 1 addition & 1 deletion modules/object/versions.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
terraform {
required_version = ">= 0.13.1"
required_version = ">= 1.0"

required_providers {
aws = {
Expand Down

0 comments on commit 116f79b

Please sign in to comment.