Git Product home page Git Product logo

terraform-aws-cloudtrail's People

Contributors

bachu20 avatar davidmontoyago avatar ethanmil avatar heyweswu avatar jamesjuran2 avatar katharinemc avatar sarjumulmi avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

terraform-aws-cloudtrail's Issues

Allow Custom KMS Key

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.

Screenshot 2023-10-23 at 9 40 48 AM

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.

Can't pass tags in via Terragrunt

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\"}"

Whitelist or Blacklist Organizational Units

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.