aws_ec2_client_vpn_endpoint dns_servers input does not preserve order #20690
Labels
bug
Addresses a defect in current functionality.
service/ec2
Issues and PRs that pertain to the ec2 service.
Milestone
Community Note
Terraform CLI and Terraform AWS Provider Version
Affected Resource(s)
Terraform Configuration Files
Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.
Debug Output
TBD
Expected Behavior
Because DNS server order is important (e.g.: we're trying to add an internal and an external DNS server in that order), one should expect the
dns_servers
input should preserve the order of the elements given (see example above).Actual Behavior
The
dns_servers
input appear to be sorted:Steps to Reproduce
terraform init && terraform apply
Workaround
Important Factoids
N/A
References
Source code treats
dns_servers
input as a set (Type: schema.TypeSet
) -- perhaps it should beTypeList
instead?The text was updated successfully, but these errors were encountered: