Skip to content

[New Resource]: AWS Network Interface Permission #40802

Open
@justinrlee

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

Metadata

Assignees

No one assigned

    Labels

    new-resourceIntroduces a new resource.service/vpcIssues and PRs that pertain to the vpc service.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions