Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // DeployCmd represents the deploy command DeployCmd = &cobra.Command{ Use: "deploy", Short: "Deploys the stack to AWS using serverless framework", RunE: func(cmd *cobra.Command, args []string) error { c, err := models.ReadDQLConfig() if err != nil { return err } if test { os.Setenv("GRAPH_DYNAMO_MODE", "test") err = helpers.CreateLambdaNetwork() if err != nil { return err } err = helpers.StartLocalDynamoDB() if err != nil { return err } c.CreateResourceTables(force) } c.MakeBuild(test) slsArgs := []string{"deploy", "--stage " + stage} if len(profile) > 0 { slsArgs = append(slsArgs, "--aws-profile "+profile) } return helpers.RunCmd("sls", slsArgs...) }, } )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.