Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Data source: aws_network_interfaces #5239

Closed
henrydobson opened this issue Jul 18, 2018 · 5 comments · Fixed by #5324
Closed

Data source: aws_network_interfaces #5239

henrydobson opened this issue Jul 18, 2018 · 5 comments · Fixed by #5324
Labels
new-data-source Introduces a new data source. service/ec2 Issues and PRs that pertain to the ec2 service.
Milestone

Comments

@henrydobson
Copy link

henrydobson commented Jul 18, 2018

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 "me too" comments, 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

Please consider a new data source, aws_network_interfaces that provides a list of enis and supports filtering.

New or Affected Resource(s)

data source

  • aws_network_interfaces

Potential Terraform Configuration

data "aws_network_interfaces" "a_dc" {
  filter = [
    {
      name   = "tag:Name"
      values = ["reserved"]
    },
    {
      name   = "subnet-id"
      values = ["example"]
    },
    {
      name   = "status"
      values = ["available"]
    }
  ]
}

References

@bflad bflad added new-data-source Introduces a new data source. service/ec2 Issues and PRs that pertain to the ec2 service. labels Jul 18, 2018
@saravanan30erd
Copy link
Contributor

I will work on this.

@bflad
Copy link
Contributor

bflad commented Jul 25, 2018

Shout out to @saravanan30erd who submitted the new aws_network_interfaces data source, which has been merged into master and will release with version 1.29.0 of the AWS provider, likely later today.

@henrydobson
Copy link
Author

Amazing, this is great. Thanks @saravanan30erd

@bflad
Copy link
Contributor

bflad commented Jul 26, 2018

This has been released in version 1.29.0 of the AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.

@ghost
Copy link

ghost commented Apr 4, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks!

@ghost ghost locked and limited conversation to collaborators Apr 4, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
new-data-source Introduces a new data source. service/ec2 Issues and PRs that pertain to the ec2 service.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants