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 年前
- AWS 官方已更新 1 年前