Open blueelvis opened 9 months ago
Voting for Prioritization
Volunteering to Work on This Issue
Hey @blueelvis 👋 Thank you for taking the time to raise this! I took a look around and wasn't able to find an API for this setting. I may have overlooked something, so I'm going to leave this open as a new resource request until someone else is able to look at it. In the meantime, it doesn't look like it's possible to manage this setting with Terraform.
The calls you're looking for are aws.organizations.enable-aws-service-access and the corresponding aws.organizations.disable-aws-service-access
Examples:
aws organizations enable-aws-service-access \
--service-principal "backup.amazonaws.com"
aws organizations disable-aws-service-access \
--service-principal "backup.amazonaws.com"
Is this not covered by existing aws_organizations_organization
resource and adding "backup.amazonaws.com"
to the list provided to aws_service_access_principals
?
Description
I cannot find a way to enable/disable the following highlighted setting via any of the Terraform resources.
Backup Policies
&Cross-account backup
can be enabled using Terraform but not theCross-account monitoring
option as highlighted below -Requested Resource(s) and/or Data Source(s)
aws_backup_cross_account_monitoring
Potential Terraform Configuration
No response
References
https://docs.aws.amazon.com/aws-backup/latest/devguide/manage-cross-account.html#enable-cross-account
Would you like to implement a fix?
None