Writing a Terraform Module: Difference between revisions
Jump to navigation
Jump to search
Line 14: | Line 14: | ||
=Playground= | =Playground= | ||
{{External|https://github.com/ovidiuf/playground/tree/master/hashicorp/terraform/blue-module}} | {{External|https://github.com/ovidiuf/playground/tree/master/hashicorp/terraform/blue-module}} | ||
=Procedure= | |||
To define a module, create a new root directory for it and place one or more .tf files inside it. |
Revision as of 01:31, 14 November 2019
External
Internal
Reference Example
- https://registry.terraform.io/modules/hashicorp/consul/aws/0.7.3
- https://github.com/hashicorp/terraform-aws-consul
Playground
Procedure
To define a module, create a new root directory for it and place one or more .tf files inside it.