Jeremy Cooper [AFS MBP] afd5805a2a Updates third party Pre-commit-Hook & TF Hook 3 лет назад
..
.pre-commit-config.yaml afd5805a2a Updates third party Pre-commit-Hook & TF Hook 3 лет назад
.terraform-version b19d7fe518 Enabled Centralized Cloudtrail and AWS Config 5 лет назад
LICENSE b19d7fe518 Enabled Centralized Cloudtrail and AWS Config 5 лет назад
README.md b19d7fe518 Enabled Centralized Cloudtrail and AWS Config 5 лет назад
SOURCE b19d7fe518 Enabled Centralized Cloudtrail and AWS Config 5 лет назад
kms.tf b19d7fe518 Enabled Centralized Cloudtrail and AWS Config 5 лет назад
main.tf baa1f43824 Applied `terraform fmt` to all modules 3 лет назад
outputs.tf b19d7fe518 Enabled Centralized Cloudtrail and AWS Config 5 лет назад
variables.tf baa1f43824 Applied `terraform fmt` to all modules 3 лет назад

README.md

terraform-aws-cloudtrail-bucket

Create and manage a bucket suitable for encrypted CloudTrail logging. Supports inbound logging from multiple accounts through the allowed_account_ids var.

Usage

module "cloudtrail-bucket" {
  source         = "git::https://github.com/rhythmictech/terraform-aws-cloudtrail-bucket"
  logging_bucket = module.s3logging-bucket.s3logging_bucket_name
  region         = var.region
}

Inputs

Name Description Type Default Required
allowed_account_ids Optional list of AWS Account IDs that are permitted to write to the bucket list(string) [] no
logging_bucket S3 bucket with suitable access for logging requests to the cloudtrail bucket string n/a yes
region Region to create KMS key in string n/a yes
tags Mapping of any extra tags you want added to resources map(string) {} no

Outputs

Name Description
kms_key_id KMS key used by cloudtrail
s3_bucket_arn The ARN of the bucket
s3_bucket_name The name of the bucket

Related Projects