MCPcopy Create free account
hub / github.com/dan-v/lambda-nat-proxy / NewStackDeployer

Function NewStackDeployer

internal/deploy/stack.go:32–37  ·  view source on GitHub ↗

NewStackDeployer creates a new stack deployer

(clients *awsclients.Clients, cfg *config.CLIConfig)

Source from the content-addressed store, hash-verified

30
31// NewStackDeployer creates a new stack deployer
32func 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
40func (s *StackDeployer) DeployStack(ctx context.Context, templateBody string) (*StackOutput, error) {

Callers 4

runDestroyFunction · 0.92
runStatusFunction · 0.92
autoDetectS3BucketFunction · 0.92
runDeployFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected