Skip to main content

tnctl config sources add

tnctl config sources add

Adds a terraform module source to the configuration


Sources are the URL locations for terraform modules. By default if no sources are defined we use the public terraform registry. We currently support aggregating modules from any terraform registry and Github.

Add a terraform registry to the source $ tnctl config sources add

Add a Github organization or user to the source $ tnctl config sources add

Note, skipping the name github organization or user requires your GITHUB_TOKEN is exported as the CLI will use this to authenticate to the github and search any repositories you are a member, contributor or owner of.

tnctl config sources add SOURCE [flags]


  -h, --help   help for add

Options inherited from parent commands

      --config string   Path to the configuration file (default "HOME/.tnctl.yaml")
--verbose Enable verbose logging