Terraform module for defining a multi-region AWS CloudTrail resource.
- Terragrunt: view Terragrunt usage exmaple
- Terraform: view vanilla Terraform usage exmaple
| Name | Version |
|---|---|
| terraform | 1.3.2 |
| aws | ~> 4.34.0 |
| Name | Version |
|---|---|
| aws | ~> 4.34.0 |
No modules.
| Name | Type |
|---|---|
| aws_cloudtrail.this | resource |
| Name | Description | Type | Default | Required |
|---|---|---|---|---|
| cloud_watch_logs_config | Config object for delivery of CloudTrail log files to a CloudWatch Logs log group. |
object({ |
n/a | yes |
| include_global_service_events | Boolean indicator as to whether the CloudTrail trail should include global service events (default: false). |
bool |
false |
no |
| is_organization_trail | Boolean indicator as to whether the CloudTrail trail is an organization trail (default: false). |
bool |
false |
no |
| logging_config | Logging config object for the CloudTrail trail. If the S3 Bucket uses a KMS Key for SSE, provide the ARN to "sse_kms_key_arn". |
object({ |
n/a | yes |
| trail_name | The name of the CloudTrail trail. | string |
n/a | yes |
| trail_tags | Tags for the CloudTrail trail. | map(string) |
null |
no |
| Name | Description |
|---|---|
| CloudTrail_Trail | The CloudTrail trail resource object. |
All scripts and source code contained herein are for commercial use only by Nerdware, LLC.
See LICENSE for more information.