1 Risposta
- Più recenti
- Maggior numero di voti
- Maggior numero di commenti
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.
con risposta 2 anni fa
Contenuto pertinente
- AWS UFFICIALEAggiornata 3 anni fa
- AWS UFFICIALEAggiornata 2 anni fa