NewStackDeployer creates a new stack deployer
(clients *awsclients.Clients, cfg *config.CLIConfig)
| 30 | |
| 31 | // NewStackDeployer creates a new stack deployer |
| 32 | func NewStackDeployer(clients *awsclients.Clients, cfg *config.CLIConfig) *StackDeployer { |
| 33 | return &StackDeployer{ |
| 34 | clients: clients, |
| 35 | cfg: cfg, |
| 36 | } |
| 37 | } |
| 38 | |
| 39 | // DeployStack deploys or updates a CloudFormation stack |
| 40 | func (s *StackDeployer) DeployStack(ctx context.Context, templateBody string) (*StackOutput, error) { |
no outgoing calls
no test coverage detected