An open API service indexing awesome lists of open source software.

https://github.com/lincolnloop/terraform-aws-config

Terraform module to set up AWS Config
https://github.com/lincolnloop/terraform-aws-config

Last synced: 4 months ago
JSON representation

Terraform module to set up AWS Config

Awesome Lists containing this project

README

          

# Terraform AWS Config Service

This module configures AWS Config.

## Usage

```hcl
module "aws_config" {
source = "github.com/lincolnloop/terraform-aws-config"
s3_bucket_name = "aws-config-bucket"
tags = { Application = "aws-config" }
sns_topic_arn = "arn:aws:sns:::"
prefix = "aws-config"
service_linked_role = true
}

```

## Inputs

| Name | Description | Type | Default | Required |
|------|-------------|------|---------------------------------------|:--------:|
| s3_bucket_name | Name for the AWS Config bucket | `string` | no | yes |
| s3_version_expiration | Days to expire S3 versions for AWS Config bucket | `string` | 365 | no |
| snapshot_delivery_frequency | Snapshot frequency for AWS Config | `string` | `Three_Hours` | no |
| sns_topic_arn | SNS topic to send notificatios from AWS Config.(Optional) | `string` | null | no |
| tags | Configuration for resources tags. | `object` | tags = { Application = "aws-config" } | no |
| prefix | Naming prefix to use for resources. | `string` | `aws-config` | no |
| service_linked_role | Create a service linked role for AWS Config. | `bool` | `false` | no |
| iam_role_name | Name for the IAM Role for AWS Config configuration. | `string` | `AWSConfigRole` | no |
| iam_role_path | Path for IAM creation. | `string` | `/service-role/` | no |

## Requirements

- Terraform 1.4 or newer
- AWS Provider 4.67 or newer