diff --git a/foundry/operator/internal/controller/suite_env_test.go b/foundry/operator/internal/controller/suite_env_test.go index 3f66ecbc..e64af2be 100644 --- a/foundry/operator/internal/controller/suite_env_test.go +++ b/foundry/operator/internal/controller/suite_env_test.go @@ -305,7 +305,7 @@ func newRawBundle() string { return `{ _#def _#def: { - env: string | *"dev" + env: string modules: { [string]: { instance?: string diff --git a/lib/project/deployment/deployer/deployer.go b/lib/project/deployment/deployer/deployer.go index 56e04584..230ed51c 100644 --- a/lib/project/deployment/deployer/deployer.go +++ b/lib/project/deployment/deployer/deployer.go @@ -23,7 +23,6 @@ const ( // This is the hardcoded default environment for the deployment. // We always deploy to the dev environment by default and do not allow // the user to change this. - // This is also the default for the `env` field in the deployment module. DEFAULT_ENV = "dev" // This is the name of the environment file which is merged with the deployment module. diff --git a/lib/schema/blueprint/project/deployment.cue b/lib/schema/blueprint/project/deployment.cue index 67098d16..77af99c9 100644 --- a/lib/schema/blueprint/project/deployment.cue +++ b/lib/schema/blueprint/project/deployment.cue @@ -10,7 +10,7 @@ package project #ModuleBundle: { // Env contains the environment to deploy the modules to. - env: string | *"dev" + env: string // Modules contains the deployment modules. modules: [string]: #Module