expel-io / terraform-aws-cloudtrail Goto Github PK
View Code? Open in Web Editor NEWTerraform module for configuring AWS CloudTrail to integrate with Expel
License: MIT License
Terraform module for configuring AWS CloudTrail to integrate with Expel
License: MIT License
I see a variable for existing_cloudtrail_kms_key_arn
. However, it's not used if a new S3 bucket will be provisioned. Additionally, the permissions for the key are not appropriate.
Please allow a custom Key ARN to take priority over a new key. Adding a variable for a custom key policy could also be helpful.
Hi, due to the way Terragrunt handles maps (converts them to strings under the hood), and the fact that variables.tf
does not have a type
declaration for var.tags
(see here), we are unable to add custom tags to the expel resources created by this module.
The fix seems to be to add a type
(in this case likely map(string)
) to the variable
declaration.
terragrunt.hcl
:
terraform { source = "tfr:///expel-io/cloudtrail/aws?version=1.3.3" }
include { path = find_in_parent_folders() }
inputs = {
expel_customer_organization_guid = "<redacted>"
existing_cloudtrail_bucket_name = "<redacted>"
existing_cloudtrail_kms_key_arn = "<redacted>"
existing_sns_topic_arn = "<redacted>"
tags = {
Application : "expel"
Terraform : "true"
}
}
│ Error: Error in function call
│
│ on aws.tf line 12, in locals:
│ 12: tags = merge(
│ 13: var.tags,
│ 14: local.default_tags,
│ 15: )
│ ├────────────────
│ │ while calling merge(maps...)
│ │ local.default_tags is object with 1 attribute "vendor"
│ │ var.tags is "{\"Application\":\"expel\",\"Terraform\":\"true\"}"
We have a variety of OUs to help organize our accounts. Some of them have Service Control Policies with explicit Deny All rules. In order to deploy at the Organization level, we need to specify either the OUs to target, or the OUs to exclude.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.