How To Manage IAM Access Analyzer in AWS Organizations Using Terraform
About the use case AWS Identity and Access Management (IAM) Access Analyzer is a feature of AWS IAM that identifies resources shared with external entities and detects unused access, enabling you to mitigate any unintended or obsolete permissions. IAM Access Analyzer can be used in AWS Organizations , allowing analyzers that use the organization as the zone of trust to be managed by either the management account or a delegated administrator account . This enables the consolidation of findings, which can then be ingested by AWS Security Hub in a centralized setup. Since it is increasingly common to establish an AWS landing zone using AWS Control Tower , we will use the standard account structure in a Control Tower landing zone to demonstrate how to configure IAM Access Analyzer in Terraform: The relevant accounts for our use case in the landing zone are: The Management account for the organization where AWS Organizations ...