{"repo":"trussworks/terraform-aws-cloudtrail","free":true,"listed":false,"github":"https://github.com/trussworks/terraform-aws-cloudtrail","clone":"git clone https://github.com/trussworks/terraform-aws-cloudtrail.git","description":"Creates and configures AWS CloudTrail","language":"HCL","stars":48,"topics":["logging","aws","aws-cloudtrail","terraform-modules","terraform"],"license":"BSD-3-Clause","category":"deployment-docker-iac","readme_excerpt":"Terraform AWS CloudTrail This module creates AWS CloudTrail and configures it so that logs go to cloudwatch. Usage Upgrade Instructions for v2 - v3 Starting in v3, encryption is not optional and will be on for both logs delivered to S3 and Cloudwatch Logs. The KMS key resource created this module will be used to encrypt both S3 and Cloudwatch-based logs. Because of this change, remove the encrypt cloudtrail parameter from previous invocations of the module prior to upgrading the version. Requirements Name Version ------ --------- terraform = 1.0 aws = 3.0 Providers Name Version ------ --------- aws = 3.0 Resources Name Type ------ ------ aws cloudtrail.main resource aws cloudwatch log group.cloudtrail resource aws iam policy.cloudtrail cloudwatch logs resource aws iam policy attachment.main resource aws iam role.cloudtrail cloudwatch role resource aws kms alias.cloudtrail resource aws kms key.cloudtrail resource aws caller identity.current data source aws iam policy document.cloudtrail assume role data source aws iam policy document.cloudtrail cloudwatch logs data source aws iam policy document.cloudtrail kms policy doc data source aws partition.current data source aws region.current data source Inputs Name Description Type Default Required ------ ------------- ------ --------- :--------: s3 bucket name The name of the AWS S3 bucket. string n/a yes advanced event selectors A list of advanced event selectors for the trail. [] no api call rate insight A measurement of write-onl","default_branch":null,"files":null,"tree":[],"storefront":"/r/trussworks","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/trussworks/terraform-aws-cloudtrail/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}