terraform-provider-aws icon indicating copy to clipboard operation
terraform-provider-aws copied to clipboard

aws_dx_locations: add Direct Connect Locations & Speed + filter capability

Open rjouhann opened this issue 2 years ago • 0 comments

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

Description

Could we add the details on the AWS Direct Connect Locations as it listed on this page?

  • AWS Direct Connect Locations
  • Speed (1G | 10G | 100G)

Currently, we only get the location_codes

aws_dx_locations = {
  "id" = "us-west-1"
  "location_codes" = toset([
    "CSOW",
    "CSSV2",
    "CSSV4",
    "EqLA3",
    "EqSV5",
    "PNP51",
  ])
}

It would be also great to be able to filter on those fields, example:

filter {
  location_address = "CoreSite NY1, New York, NY"
}

New or Affected Resource(s)

  • aws_dx_locations

References

  • https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/dx_locations
  • https://aws.amazon.com/directconnect/locations/

rjouhann avatar Aug 23 '22 00:08 rjouhann