Skip to content

Unexpected block: Blocks of type "ipam_pools" are not expected here #1992

@normelton

Description

@normelton

Language Server Version

0.36.4

Terraform Version

OpenTofu v1.9.1

Client Version

Visual Studio Code 1.100.3

Terraform Configuration

resource "aws_lb" "connect" {
  name            = "foo"
  subnets         = var.public_subnet_ids
  security_groups = [var.common.security_groups.foo.id]

  ipam_pools {
    ipv4_ipam_pool_id = aws_vpc_ipam_pool.foo.id
  }
}

Steps to Reproduce

Configure AWS load balancer referencing an IPAM pool

Expected Behavior

No complaints from plugin

Actual Behavior

Unexpected block: Blocks of type "ipam_pools" are not expected here

Gist

No response

Workarounds

No response

References

No response

Help Wanted

  • I'm interested in contributing a fix myself

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions