Skip to main content

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


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.dev28.tar.gz (958.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

stackdiac-0.0.1.dev28-py3-none-any.whl (966.5 kB view details)

Uploaded Python 3

File details

Details for the file stackdiac-0.0.1.dev28.tar.gz.

File metadata

  • Download URL: stackdiac-0.0.1.dev28.tar.gz
  • Upload date:
  • Size: 958.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.10.11 Linux/5.15.0-1038-azure

File hashes

Hashes for stackdiac-0.0.1.dev28.tar.gz
Algorithm Hash digest
SHA256 8000dc6e8e5c1198d4cb6cfb646b3876d331fd8c367ea00bcf7a2965bb51e431
MD5 df8bc0763ff2c7f2d59b2b392c3c07b7
BLAKE2b-256 c758434f1b0fb72a09c2c022f98e52eec8ccad9d92b0e073482226c67dcc70b9

See more details on using hashes here.

File details

Details for the file stackdiac-0.0.1.dev28-py3-none-any.whl.

File metadata

  • Download URL: stackdiac-0.0.1.dev28-py3-none-any.whl
  • Upload date:
  • Size: 966.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.10.11 Linux/5.15.0-1038-azure

File hashes

Hashes for stackdiac-0.0.1.dev28-py3-none-any.whl
Algorithm Hash digest
SHA256 9007a97d5a1e826d4f7cec98ed8ec8f912f7d01b7ff3a170272a89d95dafe89e
MD5 3f597a3ca33d3e68e48980f74527e4ef
BLAKE2b-256 d8a584974692e8df28731e5717d861a0b27e79fdc512c5f86e38ef57a968bba3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page