No project description provided
Project description
Stackd IAC
IAC stack
Installation
$ pip install stackdiac
Usage
initializing project
$ stackd create
Add --help for usage message. Initalizes new project in current directory. Clones core specifications, terraform provider versions, setups vault.
Updating binaries and repos
$ stackd update
binaries and repos will be synced with stackd.yaml project file
Building infrastructure code
$ stackd build
Builds IAC specifications for all configured clusters
running terragrunt plan
stackd tg
uses builded module path as target argument
$ stackd tg ./build/<cluster>/<stack>/<module> <command> <args>
add -b to build before run terragrunt
$ stackd tg -b build/data/sys/nodes/ plan
$ stackd tg -b build/data/sys/nodes/ apply
$ stackd tg -b build/data/sys/nodes/ output
running operations
stackd op -b data/sys/deploy
configuration is stack-scoped. running terragrunt run-all <op.command>
on operations's modules list.
target is <cluster>/<stack>/<operation>
form, not a path
example: upgrading kubernetes:
- adjust k8s version in cluster vars, kubernetes_version
- run upgrade operation
$ stackd op -b data/sys/upgrade
available commands
$ stackd
Usage: stackd [OPTIONS] COMMAND [ARGS]...
Options:
--help Show this message and exit.
Commands:
build
create
op
tg
ui
update
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
stackdiac-0.0.1.dev29.tar.gz
(958.6 kB
view hashes)
Built Distribution
Close
Hashes for stackdiac-0.0.1.dev29-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a52fef11aaa866dd62fe4efbd66ced0dd4c3e72144aa82b857050f82a042f29 |
|
MD5 | 24641ee59a764d1f77e0367e88785d87 |
|
BLAKE2b-256 | 32ea27d903f15aa1d68c3fbfcfb175982b52f7c134cfeac8896d980a57de5e7a |