Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Firehose S3 Bucket Replication #19

Open
tuxtek opened this issue Feb 22, 2022 · 1 comment
Open

Firehose S3 Bucket Replication #19

tuxtek opened this issue Feb 22, 2022 · 1 comment
Labels
bug 🐛 An issue with the system

Comments

@tuxtek
Copy link

tuxtek commented Feb 22, 2022

Found a bug? Maybe our Slack Community can help.

Slack Community

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:

  1. Navigate to examples/complete.
  2. 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"?
  3. Run terraform plan -var-file=fixtures.us-east-2.tfvars
  4. 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".
@tuxtek tuxtek added the bug 🐛 An issue with the system label Feb 22, 2022
@rameshcreations
Copy link

Any updates on this bug? Any workaround?
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 An issue with the system
Projects
None yet
Development

No branches or pull requests

2 participants