File tree 1 file changed +7
-4
lines changed 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -24,10 +24,13 @@ module "userdata" {
24
24
source = "andreygubarev/self-extractable-archive/external"
25
25
version = "1.2.0"
26
26
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
31
34
}
32
35
33
36
data "cloudinit_config" "this" {
You can’t perform that action at this time.
0 commit comments