1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
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.
répondu il y a 2 ans
Contenus pertinents
- demandé il y a 6 mois
- demandé il y a un an
- demandé il y a 2 mois
- demandé il y a un an
- AWS OFFICIELA mis à jour il y a 2 ans