Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion foundry/operator/internal/controller/suite_env_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ func newRawBundle() string {
return `{
_#def
_#def: {
env: string | *"dev"
env: string
modules: {
[string]: {
instance?: string
Expand Down
1 change: 0 additions & 1 deletion lib/project/deployment/deployer/deployer.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion lib/schema/blueprint/project/deployment.cue
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down