Security News
ESLint is Now Language-Agnostic: Linting JSON, Markdown, and Beyond
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
@sp-tools/kloud-stack
Advanced tools
Provide a declarative way to deploy multiple CloudFormation stacks with ease.
# Via yarn
$ yarn add @sp-tools/kloud-stack
# Via npm
$ npm install @sp-tools/kloud-stack
AWS_DEFAULT_REGION
is setkloud-stack.yml
.kloud-stack run -s <stage>
CLI options
Following is the usage of kloud-stack
CLI.
Usage: kloud-stack [command] <options>
Options:
--stage, -s Specify stage to run on. (required)
--file, -f Path to kloud-stack configuration file (default: "kloud-stack.yml")
--dry -d Execute a dry-run
--version, -v Output the version number
--help, -h Show help
Commands:
run [options] Deploy all cloudformation stacks in config file
kloud-stack.yml
Following is the configuration file will all possible options:
provider:
name: ssm
stacks:
- templateFile: './sample-stack.yml'
stackName: 'sample-stack-name'
parameters:
Stage: ${opt:stage}
Foo: ${ssm:/foo-service/config/THEFOO}
- templateFile: './sample-stack-two.yml'
stackName: 'second-stack'
parameters:
Stage: ${opt:stage}
Bar: bar-queue-${opt:stage}
Blah: ${cf:blah-service/THEBLAH}
provider: # If used in conjunction with parameter store. Will support ${ddb:} resolution
name: ddb (optional)
tableName: tableName
stacks:
- templateFile: './cloudformation/global/acm.yml' # path to cloudformation template
stackName: blah-acm-${opt:stage}
parameters:
Stage: ${opt:stage}
- templateFile: './cloudformation/global/internal-domain.yml'
stackName: blah-api-gateway-${opt:stage}
parameters:
Stage: ${opt:stage}
Variables
${opt:stage}
${aws:accountId}
${aws:region}
provider:
name: ssm
To reference ssm parameters, use: ${ssm:/foo-service/config/THEFOO}
provider:
name: ddb
tableName: ThisTableHasConfigs
To reference ddb parameters, use: ${ddb:/theValue}
FAQs
Unknown package
The npm package @sp-tools/kloud-stack receives a total of 2 weekly downloads. As such, @sp-tools/kloud-stack popularity was classified as not popular.
We found that @sp-tools/kloud-stack demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
Security News
Members Hub is conducting large-scale campaigns to artificially boost Discord server metrics, undermining community trust and platform integrity.
Security News
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.