1 Answer
- Newest
- Most votes
- Most comments
0
I removed the list from the value I was passing to RuntimeEnvironmentVariables & it worked. So specifically: "ImageConfiguration": {"Port": "8080", "RuntimeEnvironmentVariables": { "PI_ITERATIONS": "2000"} }
rather than "RuntimeEnvironmentVariables": [{...}]
.
This does NOT look like the example given in the docs:
"RuntimeEnvironmentVariables": [
{
"NAME": "Jane"
}
]
So I think either the docs or the CLI is wrong. I'm using CLI version aws-cli/2.4.6. I'd still appreciate some other answers of example usages of CLI commands if anyone has, since the doc ones seem to be wrong. I also haven't tried passing multiple environment variables yet.
answered 2 years ago
Relevant content
- asked a year ago
- asked 2 years ago
- asked 4 months ago
- asked 2 years ago
- AWS OFFICIALUpdated 6 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago