{"repo":"cloudposse/terraform-aws-cloudtrail","free":true,"listed":false,"github":"https://github.com/cloudposse/terraform-aws-cloudtrail","clone":"git clone https://github.com/cloudposse/terraform-aws-cloudtrail.git","description":"Terraform module to provision an AWS CloudTrail and an encrypted S3 bucket with versioning to store CloudTrail logs","language":"HCL","stars":122,"topics":["terraform","terraform-modules","cloudtrail","s3","logging","hcl2"],"license":"Apache-2.0","category":"deployment-docker-iac","readme_excerpt":"Terraform module to provision an AWS CloudTrail. The module accepts an encrypted S3 bucket with versioning to store CloudTrail logs. The bucket could be from the same AWS account or from a different account. This is useful if an organization uses a number of separate AWS accounts to isolate the Audit environment from other environments (production, staging, development). In this case, you create CloudTrail in the production environment (production AWS account), while the S3 bucket to store the CloudTrail logs is created in the Audit AWS account, restricting access to the logs only to the users/groups from the Audit account. [!TIP] #### 👽 Use Atmos with Terraform Cloud Posse uses atmos to easily orchestrate multiple environments using Terraform. Works with Github Actions, Atlantis, or Spacelift. Watch demo of using Atmos with Terraform Example of running atmos to manage infrastructure from our Quick Start tutorial. Usage NOTE: To create an S3 bucket for CloudTrail logs, use terraform-aws-cloudtrail-s3-bucket module. It creates an S3 bucket and an IAM policy to allow CloudTrail logs. For a complete example, see examples/complete. [!IMPORTANT] In Cloud Posse's examples, we avoid pinning modules to specific versions to prevent discrepancies between the documentation and the latest released versions. However, for your own projects, we strongly advise pinning each module to the exact version you're using. This practice ensures the stability of your infrastructure. Additionally, we","default_branch":null,"files":null,"tree":[],"storefront":"/r/cloudposse","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/cloudposse/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."}