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

Dynamically add container(s) to container_definitions #240

Open
nbcchen opened this issue Nov 2, 2024 · 0 comments
Open

Dynamically add container(s) to container_definitions #240

nbcchen opened this issue Nov 2, 2024 · 0 comments
Milestone

Comments

@nbcchen
Copy link

nbcchen commented Nov 2, 2024

Is your request related to a new offering from AWS?

Is this functionality available in the AWS provider for Terraform? See CHANGELOG.md, too.

  • No 🛑: please wait to file a request until the functionality is avaialble in the AWS provider
  • Yes ✅: please list the AWS provider version which introduced this functionality

Is your request related to a problem? Please describe.

Add container based on condition

Describe the solution you'd like.

container_definitions = {
  app = {
    image = "..."
  }
}

additional_containers = flatten(var.create_sidecar ? [
  {
    image = "..."
  }
]: [])

Describe alternatives you've considered.

Additional context

@bryantbiggs bryantbiggs added this to the v6.0.0 milestone Nov 23, 2024
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

2 participants