userhas404d / terraform-aws-tardigrade-config-aggregator

Terraform module to create a config aggregator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

terraform-aws-tardigrade-config-aggregator

Terraform module to either create an AWS Config aggregator, authorize a configuration aggregator to collect your data, or both.

Testing

Manual testing:

# Replace "xxx" with an actual AWS profile, then execute the integration tests.
export AWS_PROFILE=xxx 
make terraform/pytest PYTEST_ARGS="-v --nomock"

For automated testing, PYTEST_ARGS is optional and no profile is needed:

make mockstack/up
make terraform/pytest PYTEST_ARGS="-v"
make mockstack/clean

Requirements

Name Version
terraform >= 0.13

Providers

No providers.

Resources

No resources.

Inputs

Name Description Type Default Required
aggregator Object specifying the configuration of a Config Aggregator
object({
name = string
tags = map(string)
account_aggregation_source = object({
account_ids = list(string)
all_regions = bool
regions = list(string)
})
organization_aggregation_source = object({
all_regions = bool
regions = list(string)
role_arn = string
})
})
null no
authorization Object specifying the configuration of a Config Aggregator Authorization
object({
account_id = string
region = string
tags = map(string)
})
null no

Outputs

Name Description
aggregator Object containing the Config Aggregator attributes
authorization Object containing the Config Aggregator Authorization attributes

About

Terraform module to create a config aggregator

License:Apache License 2.0


Languages

Language:HCL 96.0%Language:Makefile 3.5%Language:Dockerfile 0.6%