/tf_aws_cloudtrail

terraform module for cloudtrail logging

Primary LanguageHCLOtherNOASSERTION

Terraform Cloudtrail logging module

A Terraform module to create an S3 bucket for, and enable, Cloudtrail logging.

Input Variables

  • account_id - AWS Account ID
  • bucket_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 name
  • bucket_arn - S3 bucket ARN
  • cloudtrail_id - Cloudtrail id
  • cloudtrail_arn - Cloudtrail ARN

Authors

Created by Kendall Libby

License

Mozilla Public License, version 2.0. See LICENSE for full details.