名称 | 类型 | 描述 | 示例值 |
---|---|---|---|
object | 环境配置 | ||
type | string | 环境类型,只能在 testing、staging、production 中选择 | Testing |
alias | string | 环境别名 | dev |
roleArn | string | 环境角色 | acs:ram::*******:role/aliyundevsdefaultrole |
repositoryConfig | RepositoryConfig | 代码仓库配置,不可以和 templateConfig 同时设置。 | |
templateConfig | TemplateConfig | 项目案例库模板配置,不能和 repositoryConfig 同时设置。 | |
infraStackConfig | InfraStackSpec | 基础设施堆栈配置 | |
serviceOverlay | object | 服务在环境中的差异化配置,部署时会对指定资源描述文件的配置进行覆盖 | |
resources | object | 资源级覆盖配置 | {"dummyFunction":{"timeout":600}} |
components | object | 组件级覆盖配置 | {"fc3":{"timeout":600}} |
isAutoDeploy | boolean | 是否需要自动部署,默认为 false。自动部署指的是在当前环境下使用默认的流水线模板创建并执行一次流水线 |
EnvironmentSpec
更新时间:
反馈
- 本页导读