terraform-aws-ecs-container-definition
terraform-aws-ecs-container-definition copied to clipboard
Provide command as a string
trafficstars
Have a question? Please checkout our Slack Community or visit our Slack Archive.
Describe the Feature
It would be nice to provide the command as a string instead of as a list but maintain the original command input for backwards compatibility
Expected Behavior
Use a command_string input that splits the string into a list
Use Case
I want to provide a command without turning it into a list first
Describe Ideal Solution
Create a command_string input that splits the string into a list
Alternatives Considered
We can split it before passing in a command to the container... but that's no fun
command = split(" ", "bin/rails service -p 3000 -b 0.0.0.0")
Additional Context
None