---
title: AWS IAM-POLICY-DOCUMENT-AGGREGATOR
---
## Description
Terraform module to aggregate multiple IAM policy documents into single policy document.
## Specification
### Properties
Name | Description | Type | Required | Default
------------ | ------------- | ------------- | ------------- | -------------
source_documents | List of JSON IAM policy documents.
Limits:
* List size max 10
* Statement can be overriden by the statement with the same sid from the latest policy. | list(string) | false |
writeConnectionSecretToRef | The secret which the cloud resource connection will be written to | [writeConnectionSecretToRef](#writeConnectionSecretToRef) | false |
#### writeConnectionSecretToRef
Name | Description | Type | Required | Default
------------ | ------------- | ------------- | ------------- | -------------
name | The secret name which the cloud resource connection will be written to | string | true |
namespace | The secret namespace which the cloud resource connection will be written to | string | false |