diff --git a/cli/internal/cmd/init.go b/cli/internal/cmd/init.go index 113c2a14c..44424f918 100644 --- a/cli/internal/cmd/init.go +++ b/cli/internal/cmd/init.go @@ -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) },