pet
carljavier/pet/random
Example Terraform Module Repo
terraform-random-pet module Example Terraform Module to demonstrate TFC/TFE module publishing workflow into the Private Module Registry. !Giphy The module itself uses random_pet, random_string and local_file resources. This example module demonstrate a simple collection of terraform resources that are grouped into a module. Publishing this module to the Private Module Registry This module also demonstrate how templatefile() function can be used for templating (eg index.html) which is useful passing in config/user data text files to infrastructure resources when required. The local index.html file created can be viewed locally and has a simple static site that cycles through images with the use of javascript. **Note: The statis site has nothing to do with Usage ``hcl module "pet" { source =
| Name | Type | Description | Default |
|---|---|---|---|
| string_length | number | The character length of the string. | 10 |
random_string_output — Random String generatedrandom_pet_nickname — Random Pet Nickname generated