[New Resource]: AWS Network Interface Permission #40802
Open
Description
Description
AWS supports exposing ENIs to other AWS accounts. Would be great if we could add support in the Terraform AWS Provider.
Requested Resource(s) and/or Data Source(s)
- aws_network_interface_permission
Potential Terraform Configuration
resource "aws_network_interface_permission" "test" {
network_interface_id = aws_network_interface.test.id
account_id = "123456789000"
permission = "INSTANCE-ATTACH"
}
References
AWS API Documentation: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateNetworkInterfacePermission.html
AWS Go SDK Documentation: https://pkg.go.dev/github.com/aws/aws-sdk-go-v2/service/ec2#Client.CreateNetworkInterfacePermission
Would you like to implement a fix?
Yes