Add encryption-in-transit-supported attribute to aws_ec2_instance_type #21624
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
Description
This is a request to add an
encryption_in_transit_supported
attribute to theaws_ec2_instance_type
data source.The
encryptionInTransitSupported
field was added to the SDK recently in https://github.com/aws/aws-sdk-go/releases/tag/v1.40.27.I'm requesting this feature because we want to ensure our engineers always select instance types that support automatic in-transit encryption, to align with our security policies.
Until recently the list of types supporting automatic in-transit encryption was only available on this documentation page. Our current solution is therefore a custom validation rule on each instance type input variable, using a manually-maintained regex of acceptable instance types.
Now that the information is available directly via the EC2 API, we would like to avoid the need for the manually-maintained regex.
New or Affected Resource(s)
Potential Terraform Configuration
References
The text was updated successfully, but these errors were encountered: