Duplicated aws_volume_attachment configurations cause incorrect behavior #19479
Labels
enhancement
Requests to existing resources that expand the functionality or scope.
service/ec2
Issues and PRs that pertain to the ec2 service.
Community Note
Terraform CLI and Terraform AWS Provider Version
Terraform v0.15.1
provider: hashicorp/aws v3.42.0
Affected Resource(s)
Terraform Configuration Files
Debug Output
None
Panic Output
None
Expected Behavior
Creating duplicate aws_volume_attachment objects should not be allowed.
Actual Behavior
Two aws_volume_attachment objects are added to the state when the steps below are followed. These two objects have different names, but the exact same configuration.
Steps to Reproduce
Important Factoids
I'm using a VPC and existing subnet groups and SSH keys. I'm running in eu-west-1 and using t4g.nano instances. This doesn't seem relevant but I mention this for completeness.
References
I did not find any open bugs that seem related.
The text was updated successfully, but these errors were encountered: