Include module
include: includes a new module in a blueprint region
Ex: To create a vpc module called my-vpc from official terraform aws modules
spycli module include -n "My VPC" -u [email protected]:terraform-aws-modules/terraform-aws-vpc.git
or you can include a local module from a library in same path of the project:
spycli module include -n "My VPC" -u tf-aws-components/vpc -l
spycli module include [flags]
-d, --directory string Base directory where the files will be writen (default ".")
-h, --help help for include
-l, --local Use a local modules library
-n, --name string Element name (ex: my-project or my-blueprint)
-u, --url string Module URL. Ex: [email protected]:terraform-aws-modules/terraform-aws-vpc.git or a local folder tf-componets/my-module (using with -l parameter)
- spycli module - Manipulate modules