Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DevEnv = EnvConfig{ Profile: profilePrefix + "dev", } ProdEnv = EnvConfig{ Profile: profilePrefix + "prod", SyncSecretsDry: true, } FeatureEnv = EnvConfig{ Profile: profilePrefix + "feature", ExtraSLSParams: `--param="stage=feature"`, } )
Functions ¶
Types ¶
type DeployResult ¶
DeployResult holds the outcome of deploying a single service.
func DeployService ¶
func DeployService(env EnvConfig, args []string) []DeployResult
DeployService deploys one or more services (by name or path) using the given env config.
type EnvConfig ¶
type EnvConfig struct {
Profile string // e.g. "draftea-dev", "draftea-prod", "draftea-feature"
ExtraSLSParams string // non-empty only for feature: --param="stage=feature"
SyncSecretsDry bool // if true, sets SLS_SYNC_SECRETS_DRY=true to skip secrets sync
}
EnvConfig holds the deployment configuration for a target environment.
Click to show internal directories.
Click to hide internal directories.