multiline-command

glenngillen/multiline-command/gg

Terraform Module HCL GG

Terraform module to enable execution of multiple commands across multiple lines.

Install
module "multiline-command" {
source = "glenngillen/multiline-command/gg"
version = "1.0.2"
}
plain text: /constructs/tfmod-glenngillen-multiline-command-gg/install.txt
⭐ Source on GitHub 📦 Registry page
README

Multiline Command Ever want to use the local-exec provisioner with Terraform, but you want to chain multiple lines of commands together? This is the module for you! Usage ``hcl module "build" { source = "glenngillen/multiline-command/module" version = "1.0.2" working_dir = "my/build/dir" command = <<EOF echo "hello world" cd foo/bar ls -al EOF } ``

Inputs (3)
NameTypeDescriptionDefault
working_dirstring required
commandstring required
triggersmap{}
Outputs (1)
id — Unique ID generated for each execution.
Resources (2)
null_resourcerandom_string
Details
FrameworkTerraform Module
LanguageHCL
Version1.0.2
Cloud GG
★ Stars0
Forks0
Total downloads297
Inputs3
Outputs1
Resources2
LicenseApache-2.0
Namespaceglenngillen
Updated