Open ylhan opened 2 months ago
Voting for Prioritization
Volunteering to Work on This Issue
Related: #29789
Hey @justinretzolk, sorry I didn't see that existing issue but I notice that it is from back in 2023, is there anyway I can bump the priority of this request?
Description
This isn't well documented but if a direct connect connection's
encryption_mode
is not explicitly set then it's set asunknown
. This isn't a valid value according to the documentation, however in practice this is the case.As you can see in the screenshot above, encryption mode is set to unknown, because this isn't a supported value, terraform errors out when trying to import the resource or reference it as a data source.
Affected Resource(s) and/or Data Source(s)
aws_dx_connection
(data and resource)Potential Terraform Configuration
References
https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/dx_connection https://docs.aws.amazon.com/directconnect/latest/APIReference/API_Connection.html#API_Connection_Contents
Would you like to implement a fix?
None