Skip to content

Latest commit

 

History

History
111 lines (79 loc) · 4.01 KB

File metadata and controls

111 lines (79 loc) · 4.01 KB

Fixit Cloud ☁️ Module: AWS CloudTrail

Terraform module for defining a multi-region AWS CloudTrail resource.

Table of Contents


⚙️ Module Usage

Usage Examples

Requirements

Name Version
terraform 1.3.2
aws ~> 4.34.0

Providers

Name Version
aws ~> 4.34.0

Modules

No modules.

Resources

Name Type
aws_cloudtrail.this resource

Inputs

Name Description Type Default Required
cloud_watch_logs_config Config object for delivery of CloudTrail log files to a
CloudWatch Logs log group.
object({
log_group_arn = string
logs_delivery_service_role_arn = string
})
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({
s3_bucket_name = string
sse_kms_key_arn = optional(string)
})
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

Outputs

Name Description
CloudTrail_Trail The CloudTrail trail resource object.

📝 License

All scripts and source code contained herein are for commercial use only by Nerdware, LLC.

See LICENSE for more information.

💬 Contact

Trevor Anderson - @TeeRevTweets - Trevor@Nerdware.cloud

     

Dare Mighty Things.