Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow passing in a map of parameters #145

Open
nitrocode opened this issue Dec 16, 2021 · 0 comments
Open

Allow passing in a map of parameters #145

nitrocode opened this issue Dec 16, 2021 · 0 comments

Comments

@nitrocode
Copy link
Member

nitrocode commented Dec 16, 2021

Have a question? Please checkout our Slack Community or visit our Slack Archive.

Slack Community

Describe the Feature

Instead of passing in parameters like this

  parameters = [
    {
      name  = "activedefrag"
      value = "no"
    }
  ]

Use this

  map_parameters = {
    activedefrag = "no"
  }

Perhaps we can use an alternate variable like map_parameters

See https://github.com/cloudposse/terraform-aws-ecs-container-definition#input_map_environment for an example in another repo

Note: The values should also be trimmed or AWS API will throw errors

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant