1回答
- 新しい順
- 投票が多い順
- コメントが多い順
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.
回答済み 2年前
関連するコンテンツ
- AWS公式更新しました 1年前