-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support network_card_index in launch_template network_interfaces #21147
Comments
For clarification, when evaluating if an AWS Service supports a specific attribute, it is best to review the AWS API documentation, not the AWS CloudFormation documentation. While CloudFormation often mimics what the Service APIs have, it does not always. The source of truth should always be the public API documentation. |
Thanks for the correction @AdamTylerLynch. Here's a description of the
|
@justinretzolk I have raised a PR for this issue/feature. Please do let me know if you need more details. |
This functionality has been released in v3.64.0 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Community Note
Description
AWS cloudformation's
AWS::EC2::LaunchTemplate NetworkInterface
supports aNetworkCardIndex
parameter, which is distinct from theNetworkInterfaceID
parameter.I do not see a
network_card_index
argument in the terraformaws_launch_template
'snetwork_interfaces
block (though there is anetwork_interface_id
argument).To see this in the documentation, please compare terraform launch_template network_interfaces to AWS::EC2::LaunchTemplate NetworkInterface.
Is
network_card_index
not currently supported, or am I being silly? How difficult/what steps would be required to add support for it?New or Affected Resource(s)
Potential Terraform Configuration
N/A
References
https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/launch_template#network-interfaces
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-networkinterface.html
The text was updated successfully, but these errors were encountered: