@@ -92,7 +92,7 @@ type Workspace struct {
9292 // SecretStore represents a secure external location for storing secrets.
9393 SecretStore * SecretStore `yaml:"secretStore,omitempty" json:"secretStore,omitempty"`
9494
95- // Context contains workspace-level configurations, such as topologies, server endpoints, metadata, etc.
95+ // Context contains workspace-level configurations, such as runtimes, topologies, and metadata, etc.
9696 Context GenericConfig `yaml:"context,omitempty" json:"context,omitempty"`
9797}
9898
@@ -475,6 +475,9 @@ const (
475475 EnvAwsSecretAccessKey = "AWS_SECRET_ACCESS_KEY"
476476 EnvAwsDefaultRegion = "AWS_DEFAULT_REGION"
477477 EnvAwsRegion = "AWS_REGION"
478+ EnvAlicloudAccessKey = "ALICLOUD_ACCESS_KEY"
479+ EnvAlicloudSecretKey = "ALICLOUD_SECRET_KEY"
480+ EnvAlicloudRegion = "ALICLOUD_REGION"
478481)
479482
480483// BackendConfigs contains the configuration of multiple backends and the current backend.
@@ -861,6 +864,8 @@ type Spec struct {
861864 Resources Resources `yaml:"resources" json:"resources"`
862865 // SecretSore represents a external secret store location for storing secrets.
863866 SecretStore * SecretStore `yaml:"secretStore" json:"secretStore"`
867+ // Context contains workspace-level configurations, such as runtimes, topologies, and metadata, etc.
868+ Context GenericConfig `yaml:"context" json:"context"`
864869}
865870
866871// State is a record of an operation's result. It is a mapping between resources in KCL and the actual
0 commit comments