-
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
feat: Add resource network_interface_permission (WIP) #40797
base: main
Are you sure you want to change the base?
feat: Add resource network_interface_permission (WIP) #40797
Conversation
Community NoteVoting for Prioritization
For Submitters
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Welcome @justinrlee 👋
It looks like this is your first Pull Request submission to the Terraform AWS Provider! If you haven’t already done so please make sure you have checked out our CONTRIBUTOR guide and FAQ to make sure your contribution is adhering to best practice and has all the necessary elements in place for a successful approval.
Also take a look at our FAQ which details how we prioritize Pull Requests for inclusion.
Thanks again, and welcome to the community! 😃
Hello! Here's a question for those who might know: This creates a resource that is only available in certain whitelisted AWS accounts (it allows you to grant another account access to an ENI; the grantee account must be whitelisted by AWS). If the target account is not whitelisted, you'll see an error message like this: Error: creating EC2 Network Interface Permission: operation error EC2: CreateNetworkInterfacePermission, https response error StatusCode: 400, RequestID: 147a1a20-3cc8-4dc9-8840-36e3627a4607, api error OperationNotPermitted: The account 443332222111 is not permitted to receive cross account permissions. This means that in my personal testing of the acceptance tests, it works*, but I'm guessing the acceptance test(s) run by the Hashicorp build-and-deploy infra will not work. How should we approach this? * I'm still working on getting the |
WIP: DO NOT MERGE
Description
Creating this PR for sharing purposes; still need to build tests and update documentation
Creates the
network_interface_permission
TF resource (corresponds to AWS CLI commandaws ec2 create-network-interface-permission
).Has been functionally tested but needs to be completed.
Reference API: CreateNetworkInterfacePermission
Relations
Closes #40802
References
Output from Acceptance Testing