Skip to content

Commit f504614

Browse files
authored
chore(cli): removes default value for deployment env (#172)
1 parent 2164b96 commit f504614

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

foundry/operator/internal/controller/suite_env_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ func newRawBundle() string {
305305
return `{
306306
_#def
307307
_#def: {
308-
env: string | *"dev"
308+
env: string
309309
modules: {
310310
[string]: {
311311
instance?: string

lib/project/deployment/deployer/deployer.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ const (
2323
// This is the hardcoded default environment for the deployment.
2424
// We always deploy to the dev environment by default and do not allow
2525
// the user to change this.
26-
// This is also the default for the `env` field in the deployment module.
2726
DEFAULT_ENV = "dev"
2827

2928
// This is the name of the environment file which is merged with the deployment module.

lib/schema/blueprint/project/deployment.cue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ package project
1010

1111
#ModuleBundle: {
1212
// Env contains the environment to deploy the modules to.
13-
env: string | *"dev"
13+
env: string
1414

1515
// Modules contains the deployment modules.
1616
modules: [string]: #Module

0 commit comments

Comments
 (0)