Skip to content

Incorrect Attribute Indexing in VPC Flow Logs Module #1204

@DeepakUnilode

Description

@DeepakUnilode

Terraform build is failing due to incorrect attribute referencing in the vpc-flow-logs.tf file inside the edw_portal_vpc module.

During Terraform plan/apply, the following error is encountered:

Error: Unsupported attribute
on .terraform/modules/edw_portal_vpc/vpc-flow-logs.tf line 28, in locals:
28: "arn:${data.aws_partition.current[0].partition}:logs:${data.aws_region.current[0].region}:${data.aws_caller_identity.current[0].account_id}:log-group:${log_group.name}:*"
This object has no argument, nested block, or exported attribute named
"region".
Error: Terraform exited with code 1.
Error: Process completed with exit code 1.

Requesting your assistance to fix this issue as it is currently blocking our production deployment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions