aws_eip data provider does not support Classic EIPs #2825
Labels
bug
Addresses a defect in current functionality.
service/ec2
Issues and PRs that pertain to the ec2 service.
Milestone
The following snippet leads to a crash when the EIP is on ec2-classic. It does work if it is a VPC EIP:
Terraform Version
Terraform v0.11.1
Affected Resource(s)
If this issue appears to affect multiple resources, it may be an issue with Terraform's core, so please mention this.
Terraform Configuration Files
Debug Output
https://gist.github.com/Ashex/7035dc2d335dfc00650495e59816b979
Panic Output
https://gist.github.com/Ashex/7035dc2d335dfc00650495e59816b979
Expected Behavior
EIP allocation Id is retriever
Actual Behavior
Terraform crashes with a EOF error
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
terraform plan
Important Factoids
Verified that this occurs on aws provider 1.5.0
When I run this with a VPC EIP it succeeds, this appears to only fail with a Classic EIP
The text was updated successfully, but these errors were encountered: