-
-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathvariables.tf
33 lines (28 loc) · 877 Bytes
/
variables.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
variable "filename" {
type = string
description = "Artifact filename"
default = "lambda.zip"
}
variable "module_name" {
type = string
description = "Name of the terraform module"
}
variable "module_path" {
type = string
description = "Local path to the terraform module; e.g. `$${path.module}`"
}
variable "git_ref" {
type = string
description = "Git hash corresponding to the remote artifact. Leave blank and it will be computed from the `module_path` checkout"
default = ""
}
variable "url" {
type = string
description = "URL template for the remote artifact"
default = "https://artifacts.cloudposse.com/$$${module_name}/$$${git_ref}/$$${filename}"
}
variable "curl_arguments" {
type = list(string)
description = "Arguments that should get passed to `curl`"
default = ["-fsSL"]
}