package stackset import ( "fmt" "os" "path/filepath" "regexp" "github.com/aws-cloudformation/rain/cft" "github.com/aws-cloudformation/rain/cft/format" "github.com/aws-cloudformation/rain/internal/aws/cfn" "github.com/aws-cloudformation/rain/internal/cmd/deploy" "github.com/aws-cloudformation/rain/internal/config" "github.com/aws-cloudformation/rain/internal/console" "github.com/aws-cloudformation/rain/internal/console/spinner" "github.com/aws-cloudformation/rain/internal/dc" "github.com/aws-cloudformation/rain/internal/ui" "github.com/aws/aws-sdk-go-v2/service/cloudformation/types" "github.com/aws/smithy-go/ptr" "golang.org/x/exp/constraints" "gopkg.in/yaml.v3" "github.com/spf13/cobra" ) type configFormat struct { Parameters map[string]string `yaml:"Parameters"` Tags map[string]string `yaml:"Tags"` StackSet cfn.StackSetConfig `yaml:"StackSet"` StackSetInstanses cfn.StackSetInstancesConfig `yaml:"StackSetInstanses"` } var accounts []string var regions []string var detach bool var yes bool var params []string var tags []string var configFilePath string var forceUpdate bool var ignoreStackInstances bool // StackSetDeployCmd is the deploy command's entrypoint var StackSetDeployCmd = &cobra.Command{ Use: "deploy