Terraform Cloudtrail logging module
A Terraform module to create an S3 bucket for, and enable, Cloudtrail logging.
Input Variables
account_id
- AWS Account IDbucket_name
- Name of the S3 bucket
Usage
module "cloudtrail" {
source = "github.com/mozilla-platform-ops/tf_cloudtrail"
account_id = "123456789"
bucket_name = "my-s3-bucket"
}
Outputs
bucket_id
- S3 bucket namebucket_arn
- S3 bucket ARNcloudtrail_id
- Cloudtrail idcloudtrail_arn
- Cloudtrail ARN
Authors
Created by Kendall Libby
License
Mozilla Public License, version 2.0. See LICENSE for full details.