Skip to content

Commit a9daf36

Browse files
committed
updated module 'userdata' by adding 'source_environment' variable and rearranged properties
1 parent 3b48372 commit a9daf36

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

README.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,13 @@ module "userdata" {
2424
source = "andreygubarev/self-extractable-archive/external"
2525
version = "1.2.0"
2626
27-
description = "User Data" # Description of the archive
28-
source_dir = "${path.module}/userdata" # Directory to be archived
29-
source_entrypoint = "entrypoint.sh" # Entrypoint script, relative to source_dir, defaults to "entrypoint.sh"
30-
filename = "userdata.run" # Name of self-extractable archive
27+
description = "User Data" # Description of the archive
28+
filename = "userdata.run" # Name of self-extractable archive
29+
source_dir = "${path.module}/userdata" # Directory to be archived
30+
source_entrypoint = "entrypoint.sh" # Entrypoint script, relative to source_dir, defaults to "entrypoint.sh"
31+
source_environment = <<EOT
32+
FOO=BAR
33+
EOT
3134
}
3235
3336
data "cloudinit_config" "this" {

0 commit comments

Comments
 (0)