Skip to content

CKV2_AWS_19 still fails when "domain = vpc" #7532

@Fydon

Description

@Fydon

Describe the issue
I have an Elastic IP is allocated to a network load balancer and received CKV2_AWS_19, which states that vpc should be set to true. However this setting is no longer available. A fix was attempted in #5378 but it doesn't seem to cover this case, if it worked for other cases.

Examples

resource "aws_eip" "foo" {
  domain               = "vpc"
  network_border_group = "us-east-1"
  public_ipv4_pool     = "amazon"
  tags = {
    Name = "foo"
  }
}

Version (please complete the following information):

  • Checkov Version 3.2.525
  • AWS provider 6.37.0

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    checksCheck additions or changes

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions