1.1.0 • Published 4 years ago
@viperhq/cf v1.1.0
CloudFormation helper functions
Running deploy
Full parameter list: https://awscli.amazonaws.com/v2/documentation/api/latest/reference/cloudformation/deploy/index.html
deploy({
region: "eu-west-2",
stackName: "test",
templateFile: path.join("test", "templates", "bucket.yaml"),
capabilities: ["CAPABILITY_IAM"],
parameters: {
CustomTag: "test",
CustomTag2: "test2"
}
})
Getting outputs
const outputs = await output("test", "eu-west-2");
Running package
Full parameter list: https://awscli.amazonaws.com/v2/documentation/api/latest/reference/cloudformation/package.html
pkg({
region: "eu-west-2",
templateFile: "index.yaml",
outputTemplateFile: "out.yaml",
s3Bucket: "bucket"
})