│ Error: Unsupported attribute │ │ on .terraform/modules/firewall_manager.firehose_s3_bucket/main.tf line 166, in resource "aws_s3_bucket" "default": │ 166: for_each = local.s3_replication_rules == null ? [] : local.s3_replication_rules │ │ This object does not have an attribute named "s3_replication_rules".
Expected Behavior
If this is a required variable, then I would expect to see it defined as such.
Steps to Reproduce
Steps to reproduce the behavior:
Navigate to examples/complete.
Fix typo in main.tf
│ Error: Unsupported argument │ │ on main.tf line 22, in module "firewall_manager": │ 22: shiled_advanced_policies = var.shield_advanced_policies │ │ An argument named "shiled_advanced_policies" is not expected here. Did you mean │ "shield_advanced_policies"?
Run terraform plan -var-file=fixtures.us-east-2.tfvars
Get S3 Replication Error
Error: Unsupported attribute │ │ on .terraform/modules/firewall_manager.firehose_s3_bucket/main.tf line 166, in resource "aws_s3_bucket" "default": │ 166: for_each = local.s3_replication_rules == null ? [] : local.s3_replication_rules │ │ This object does not have an attribute named "s3_replication_rules".
Found a bug? Maybe our Slack Community can help.
Describe the Bug
Running a terraform plan results in an error.
│ Error: Unsupported attribute │ │ on .terraform/modules/firewall_manager.firehose_s3_bucket/main.tf line 166, in resource "aws_s3_bucket" "default": │ 166: for_each = local.s3_replication_rules == null ? [] : local.s3_replication_rules │ │ This object does not have an attribute named "s3_replication_rules".
Expected Behavior
If this is a required variable, then I would expect to see it defined as such.
Steps to Reproduce
Steps to reproduce the behavior:
│ Error: Unsupported argument │ │ on main.tf line 22, in module "firewall_manager": │ 22: shiled_advanced_policies = var.shield_advanced_policies │ │ An argument named "shiled_advanced_policies" is not expected here. Did you mean │ "shield_advanced_policies"?
terraform plan -var-file=fixtures.us-east-2.tfvars
Error: Unsupported attribute │ │ on .terraform/modules/firewall_manager.firehose_s3_bucket/main.tf line 166, in resource "aws_s3_bucket" "default": │ 166: for_each = local.s3_replication_rules == null ? [] : local.s3_replication_rules │ │ This object does not have an attribute named "s3_replication_rules".