-
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
inspector2: First resource aws_inspector2_organization_configuration
#27000
Conversation
Community NoteVoting for Prioritization
For Submitters
|
4cacd6f
to
ecee8bd
Compare
aws_inspector2_organization_configuration
AWS CLI commands: % aws inspector2 enable-delegated-admin-account --delegated-admin-account-id 012345678901
% aws inspector2 describe-organization-configuration
% aws inspector2 update-organization-configuration --auto-enable ec2=false,ecr=true
% aws inspector2 disable-delegated-admin-account --delegated-admin-account-id 012345678901 If you get this error, the account is not enabled as a delegated admin account: % aws inspector2 describe-organization-configuration
An error occurred (AccessDeniedException) when calling the DescribeOrganizationConfiguration operation: Invoking account does not have access to describe the organization configuration.
% aws inspector2 enable-delegated-admin-account --delegated-admin-account-id 012345678901
% aws inspector2 describe-organization-configuration
{
"autoEnable": {
"ec2": false,
"ecr": false
},
"maxAccountLimitReached": false
} |
This functionality has been released in v4.33.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 pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Description
By itself, this functionality will not be useful. However, it's paving the way for additional resources.
Adds
aws_inspector2_organziation_configuration
for auto enabling EC2 and/or ECR scans for accounts you add to the inspector org.Relations
Relates #22330
References
Output from Acceptance Testing