Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/silinternational/terraform-aws-cloudtrail
Terraform module for AWS Cloudtrail
https://github.com/silinternational/terraform-aws-cloudtrail
Last synced: about 1 month ago
JSON representation
Terraform module for AWS Cloudtrail
- Host: GitHub
- URL: https://github.com/silinternational/terraform-aws-cloudtrail
- Owner: silinternational
- License: mit
- Created: 2024-07-03T17:31:43.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-08-07T06:27:34.000Z (5 months ago)
- Last Synced: 2024-08-08T09:51:34.119Z (5 months ago)
- Language: HCL
- Size: 6.84 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# AWS Cloudtrail module
This module is used to set up CloudTrail logging for your AWS account.## What this does
- Create S3 bucket for CloudTrail logs
- Create IAM user with read-only access to CloudTrail S3 bucket
- (Optional:) Create an Access Key and Secret for that IAM user
- Enable CloudTrail logging## Required Inputs
- `s3_bucket_name` - The name for the S3 bucket where your CloudTrail logs will be stored
## Optional Inputs
- `cloudtrail_name` - The name for your Trail in AWS CloudTrail. Default: `"aws-account-cloudtrail"`
- `is_multi_region_trail` - Whether the trail is created in the current region or in all regions. Default: `false`
- `create_access_key` - Whether to create an Access Key/Secret for the created IAM user. Default: `false`## Outputs
- `s3_access_key_id` - The Access Key ID for the IAM user that has access to the S3 bucket, if requested.
- `s3_access_key_secret` - The Access Key Secret for the IAM user that has access to the S3 bucket, if requested.