{"id":20017137,"url":"https://github.com/blackbird-cloud/terraform-aws-cloudtrail","last_synced_at":"2026-05-09T20:02:09.544Z","repository":{"id":169429330,"uuid":"645359709","full_name":"blackbird-cloud/terraform-aws-cloudtrail","owner":"blackbird-cloud","description":"Terraform module to create an AWS CloudTrail","archived":false,"fork":false,"pushed_at":"2025-01-31T14:49:25.000Z","size":39,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-31T15:19:39.362Z","etag":null,"topics":["aws","cloudtrail","terraform"],"latest_commit_sha":null,"homepage":"","language":"HCL","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/blackbird-cloud.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-05-25T13:30:31.000Z","updated_at":"2024-09-19T14:24:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"bc1c71c9-a032-432b-bc7d-89ae90b92d25","html_url":"https://github.com/blackbird-cloud/terraform-aws-cloudtrail","commit_stats":null,"previous_names":["blackbird-cloud/terraform-aws-cloudtrail"],"tags_count":4,"template":false,"template_full_name":"blackbird-cloud/terraform-module-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blackbird-cloud%2Fterraform-aws-cloudtrail","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blackbird-cloud%2Fterraform-aws-cloudtrail/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blackbird-cloud%2Fterraform-aws-cloudtrail/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blackbird-cloud%2Fterraform-aws-cloudtrail/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/blackbird-cloud","download_url":"https://codeload.github.com/blackbird-cloud/terraform-aws-cloudtrail/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241451677,"owners_count":19964901,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aws","cloudtrail","terraform"],"created_at":"2024-11-13T08:14:36.332Z","updated_at":"2026-05-09T20:02:09.457Z","avatar_url":"https://github.com/blackbird-cloud.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![blackbird-logo](https://raw.githubusercontent.com/blackbird-cloud/terraform-module-template/main/.config/logo_simple.png)](https://blackbird.cloud)\n\n## Requirements\n\n| Name | Version |\n|------|---------|\n| \u003ca name=\"requirement_terraform\"\u003e\u003c/a\u003e [terraform](#requirement\\_terraform) | \u003e= 1 |\n| \u003ca name=\"requirement_aws\"\u003e\u003c/a\u003e [aws](#requirement\\_aws) | ~\u003e 4 |\n\n## Providers\n\n| Name | Version |\n|------|---------|\n| \u003ca name=\"provider_aws\"\u003e\u003c/a\u003e [aws](#provider\\_aws) | 4.67.0 |\n\n## Modules\n\n| Name | Source | Version |\n|------|--------|---------|\n| \u003ca name=\"module_bucket\"\u003e\u003c/a\u003e [bucket](#module\\_bucket) | terraform-aws-modules/s3-bucket/aws | ~\u003e 3 |\n| \u003ca name=\"module_bucket_policy\"\u003e\u003c/a\u003e [bucket\\_policy](#module\\_bucket\\_policy) | blackbird-cloud/s3-bucket-policy/aws | ~\u003e 0 |\n| \u003ca name=\"module_kms_key\"\u003e\u003c/a\u003e [kms\\_key](#module\\_kms\\_key) | blackbird-cloud/kms-key/aws | ~\u003e 0 |\n\n## Resources\n\n| Name | Type |\n|------|------|\n| [aws_cloudtrail.default](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/cloudtrail) | resource |\n| [aws_caller_identity.default](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/caller_identity) | data source |\n\n## Inputs\n\n| Name | Description | Type | Default | Required |\n|------|-------------|------|---------|:--------:|\n| \u003ca name=\"input_administrator_arns\"\u003e\u003c/a\u003e [administrator\\_arns](#input\\_administrator\\_arns) | List of AWS principals that will receive Administrative permissions on the resources created. | `list(string)` | `[]` | no |\n| \u003ca name=\"input_cloud_watch_logs_group_arn\"\u003e\u003c/a\u003e [cloud\\_watch\\_logs\\_group\\_arn](#input\\_cloud\\_watch\\_logs\\_group\\_arn) | (Optional) Log group name using an ARN that represents the log group to which CloudTrail logs will be delivered. Note that CloudTrail requires the Log Stream wildcard. | `string` | `\"\"` | no |\n| \u003ca name=\"input_cloud_watch_logs_role_arn\"\u003e\u003c/a\u003e [cloud\\_watch\\_logs\\_role\\_arn](#input\\_cloud\\_watch\\_logs\\_role\\_arn) | (Optional) Role for the CloudWatch Logs endpoint to assume to write to a user’s log group. | `string` | `\"\"` | no |\n| \u003ca name=\"input_enable_log_file_validation\"\u003e\u003c/a\u003e [enable\\_log\\_file\\_validation](#input\\_enable\\_log\\_file\\_validation) | (Optional) Whether log file integrity validation is enabled. Defaults to `false`. | `bool` | `false` | no |\n| \u003ca name=\"input_include_global_service_events\"\u003e\u003c/a\u003e [include\\_global\\_service\\_events](#input\\_include\\_global\\_service\\_events) | (Optional) Whether the trail is publishing events from global services such as IAM to the log files. Defaults to `true`. | `bool` | `true` | no |\n| \u003ca name=\"input_is_multi_region_trail\"\u003e\u003c/a\u003e [is\\_multi\\_region\\_trail](#input\\_is\\_multi\\_region\\_trail) | (Optional) Whether the trail is created in the current region or in all regions. Defaults to `false`. | `bool` | `true` | no |\n| \u003ca name=\"input_is_organization_trail\"\u003e\u003c/a\u003e [is\\_organization\\_trail](#input\\_is\\_organization\\_trail) | (Optional) Whether the trail is an AWS Organizations trail. Organization trails log events for the master account and all member accounts. Can only be created in the organization master account. Defaults to `false`. | `bool` | `true` | no |\n| \u003ca name=\"input_name\"\u003e\u003c/a\u003e [name](#input\\_name) | Name used for all resources created. | `string` | n/a | yes |\n| \u003ca name=\"input_tags\"\u003e\u003c/a\u003e [tags](#input\\_tags) | (Optional) Map of tags to assign to the trail. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. | `map(string)` | `{}` | no |\n| \u003ca name=\"input_viewers_arns\"\u003e\u003c/a\u003e [viewers\\_arns](#input\\_viewers\\_arns) | (Optional) List of AWS principals that will receive viewing permissions on the Cloudtrail data. | `list(string)` | `[]` | no |\n\n## Outputs\n\n| Name | Description |\n|------|-------------|\n| \u003ca name=\"output_bucket\"\u003e\u003c/a\u003e [bucket](#output\\_bucket) | The S3 Bucket that stores the CloudTrail. |\n| \u003ca name=\"output_cloudtrail\"\u003e\u003c/a\u003e [cloudtrail](#output\\_cloudtrail) | The CloudTrail resource. |\n| \u003ca name=\"output_kms_key\"\u003e\u003c/a\u003e [kms\\_key](#output\\_kms\\_key) | The KMS key used to encrypt the CloudTrail. |\n\n## About\n\nWe are [Blackbird Cloud](https://blackbird.cloud), Amsterdam based cloud consultancy, and cloud management service provider. We help companies build secure, cost efficient, and scale-able solutions.\n\nCheckout our other :point\\_right: [terraform modules](https://registry.terraform.io/namespaces/blackbird-cloud)\n\n## Copyright\n\nCopyright © 2017-2023 [Blackbird Cloud](https://blackbird.cloud)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblackbird-cloud%2Fterraform-aws-cloudtrail","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblackbird-cloud%2Fterraform-aws-cloudtrail","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblackbird-cloud%2Fterraform-aws-cloudtrail/lists"}