Terraform Modules
-
A Terraform module is a reusable set of terraform configuration files.
-
Terraform has lot of modules from community which can be reused
-
Refer Here for usage of the module from terraform registry
-
Now lets try to convert the vpc creation which we have done as our own module based on vpc @ Refer Here
-
Refer Here for the changeset containing modules
-
Exercise: Write a terrform template and use the module from your existing sources
-
Terraform modules can be hosted from
- GIt
- GitHub
- Terraform registry
- S3
- GCS
-
Refer Here for hosting terraform modules
-
Refer Here for the changeset containing terraform module hosted on git in the terraform configuration