mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-05-02 22:34:56 -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 {
|
||||
// Define flags for apply backend that are not set by init
|
||||
cmd.Flags().Bool("yes", false, "")
|
||||
// Don't skip any phases
|
||||
// The apply backend should handle init calls correctly
|
||||
cmd.Flags().StringSlice("skip-phases", []string{}, "")
|
||||
cmd.Flags().StringSlice("skip-phases", []string{string(skipInfrastructurePhase)}, "")
|
||||
cmd.Flags().Duration("timeout", time.Hour, "")
|
||||
return runApply(cmd, args)
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue