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
- Host: GitHub
- URL: https://github.com/lincolnloop/terraform-aws-config
- Owner: lincolnloop
- License: other
- Created: 2023-07-26T21:22:18.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-10-08T22:11:10.000Z (over 1 year ago)
- Last Synced: 2025-04-09T18:54:25.673Z (about 1 year ago)
- Language: HCL
- Size: 7.81 KB
- Stars: 0
- Watchers: 13
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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