# Summary: A module consumer# Documentation: https://www.terraform.io/docs/language/settings/index.htmlterraform{required_version=">= 1.0.0"}# Documentation: https://www.terraform.io/docs/language/modules/syntax.htmlmodule"changeme_hello_consumer"{source="../hello_module"}
run.sh
#!/bin/bash../../../bin/apply.sh
local_file/hello_module/
destroy.sh
#!/bin/bash../../../bin/destroy.sh
main.tf
# Summary: A local_file example to be used as a module# Documentation: https://www.terraform.io/docs/language/modules/index.htmlterraform{required_version=">= 1.0.0"}# Documentation: https://registry.terraform.io/providers/hashicorp/local/latest/docs/resources/fileresource"local_file""changeme_hello_local_file"{content="Hello terraform local module!"filename="hello_local.txt"}