mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-06-20 04:04:21 -04:00
cli: init should not call terraform (#2522)
This commit is contained in:
parent
ec424b260d
commit
278edfa2f9
1 changed files with 1 additions and 3 deletions
|
@ -43,9 +43,7 @@ func NewInitCmd() *cobra.Command {
|
||||||
RunE: func(cmd *cobra.Command, args []string) error {
|
RunE: func(cmd *cobra.Command, args []string) error {
|
||||||
// Define flags for apply backend that are not set by init
|
// Define flags for apply backend that are not set by init
|
||||||
cmd.Flags().Bool("yes", false, "")
|
cmd.Flags().Bool("yes", false, "")
|
||||||
// Don't skip any phases
|
cmd.Flags().StringSlice("skip-phases", []string{string(skipInfrastructurePhase)}, "")
|
||||||
// The apply backend should handle init calls correctly
|
|
||||||
cmd.Flags().StringSlice("skip-phases", []string{}, "")
|
|
||||||
cmd.Flags().Duration("timeout", time.Hour, "")
|
cmd.Flags().Duration("timeout", time.Hour, "")
|
||||||
return runApply(cmd, args)
|
return runApply(cmd, args)
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue