terradep

command module
v0.0.0-...-578eb28 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2022 License: MIT Imports: 1 Imported by: 0

README

TERRADEP

This is the module dependency solution for implementing terraform's modules dependency. Using this, users can now manage dependencies both from local file systems and from remote repositories.

A simple yaml dependency file is needed to be written in order to manage all the dependencies. These dependencies are version controlled and will be downloaded locally before running terraform.

See dependencyConfigs.yaml for sample dependency file. The project is under development, so dependency config file may change.

MODULE REPOSITORY

A remote module repository will also be created where these modules can be uploaded by anyone publically and can be used by other developers, so as to promote code reusability.

For an enterprise environment, these modules can also be uploaded in a VCS like Git, SVN or Mercury.

COMMAND STRUCTURE

config

This command updates the configuration of terradep.
This includes operations on adding and removing repositories, updating credential information and encrypting/decrypting and locking/unlocking configuration file, so that unauthorized access can be prevented.
It will also generate a new configuration file in case it is not already present inside $USER/.terradep/

Usage:
  terradep config [command]

Available Commands:
  init        Initialize an empty configuration in user's home directory
  set-proxy   Set proxy related configuration

Flags:
  -h, --help   help for config

run

This command will start resolving of dependencies in the recursive manner.
It will read the data from the repositories configured in dependencies file and in terradep configuration.

validate

It will validate the dependencies file and configuration file written.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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