Skip to content

bug: terraform validate fails in elasticache.tf due to invalid aws_default_vpc data source #73

Description

@Panacota96

Summary

erraform validate fails before any plan/apply work because �lasticache.tf declares data "aws_default_vpc" "default", which is not a supported AWS provider data source.

Evidence

  • File: phishing-platform-infra/terraform/elasticache.tf:3
  • Command: erraform -chdir=phishing-platform-infra/terraform validate
  • Error: The provider hashicorp/aws does not support data source "aws_default_vpc".

Impact

  • Infrastructure validation is broken.
  • CI/CD and local Terraform workflows cannot trust the IaC baseline.

Expected outcome

Replace the invalid VPC lookup pattern with a supported resource/data strategy and keep erraform validate green.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions