@@ -92,7 +92,7 @@ type Workspace struct {
92
92
// SecretStore represents a secure external location for storing secrets.
93
93
SecretStore * SecretStore `yaml:"secretStore,omitempty" json:"secretStore,omitempty"`
94
94
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.
96
96
Context GenericConfig `yaml:"context,omitempty" json:"context,omitempty"`
97
97
}
98
98
@@ -475,6 +475,9 @@ const (
475
475
EnvAwsSecretAccessKey = "AWS_SECRET_ACCESS_KEY"
476
476
EnvAwsDefaultRegion = "AWS_DEFAULT_REGION"
477
477
EnvAwsRegion = "AWS_REGION"
478
+ EnvAlicloudAccessKey = "ALICLOUD_ACCESS_KEY"
479
+ EnvAlicloudSecretKey = "ALICLOUD_SECRET_KEY"
480
+ EnvAlicloudRegion = "ALICLOUD_REGION"
478
481
)
479
482
480
483
// BackendConfigs contains the configuration of multiple backends and the current backend.
@@ -861,6 +864,8 @@ type Spec struct {
861
864
Resources Resources `yaml:"resources" json:"resources"`
862
865
// SecretSore represents a external secret store location for storing secrets.
863
866
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"`
864
869
}
865
870
866
871
// State is a record of an operation's result. It is a mapping between resources in KCL and the actual
0 commit comments