aiven

command
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 28, 2022 License: MPL-2.0 Imports: 12 Imported by: 0

README

aiven

A tool to make ad-hoc Aiven related Terraform state transformations.

Supports both Terraform and Terragrunt.

Build & Run

Build

  1. Change directory to cmd/aiven
  2. Run go build
  3. Use created aiven binary for the next steps

Run

Simply run the binary and use the provided prompt wizard to analyze existing configurations and make necessary migration transformations.

The tool assumes that you store your tfState.json file remotely on AWS. That's why it checks beforehand validity of your AWS Credentials and pulls then the state using correspondent terraform/terragrunt command.

If you need to analyze your local tfState.json files run ./aiven <path/to/tfState1.json> <path/to/tfState2.json>. This way you'll be prompted to import resources from those files into your current state.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL