[Bug]: Error: creating EC2 Instance: InvalidNetworkInterface.InUse: Interface: [eni-XXX] in use. #27513
Labels
bug
Addresses a defect in current functionality.
service/vpc
Issues and PRs that pertain to the vpc service.
Terraform Core Version
1.0.11
AWS Provider Version
4.34.0
Affected Resource(s)
aws_instance, aws_network_interface
Expected Behavior
Network interface is not in use and the EC2 instance is successfully created.
Actual Behavior
Network interface is created. While the instance that uses that interface is created, an error is thrown saying the interface is in use.
Relevant Error/Panic Output Snippet
Terraform Configuration Files
https://github.com/openshift/installer/blob/master/data/data/aws/cluster/master/main.tf
Steps to Reproduce
terraform apply
Debug Output
https://gcsweb-ci.apps.ci.l2s4.p1.openshiftapps.com/gcs/origin-ci-test/pr-logs/pull/openshift_cluster-network-operator/1589/pull-ci-openshift-cluster-network-operator-master-e2e-ovn-hybrid-step-registry/1585619881594720256/artifacts/e2e-ovn-hybrid-step-registry/ipi-install-install/artifacts/.openshift_install.log
Panic Output
No response
Important Factoids
Using the
attachment
property in theaws_network_interface
doesn't seem to work withdevice_index = 0
:References
No response
Would you like to implement a fix?
No response
The text was updated successfully, but these errors were encountered: