-
Notifications
You must be signed in to change notification settings - Fork 4
/
variables.tf
33 lines (28 loc) · 939 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 "cdn_provider_url" {
type = string
description = "The service that should be used for unpacking. jsdelivr or unpkg should work."
default = "https://cdn.jsdelivr.net/npm/"
}
variable "module_name" {
type = string
description = "The name of the npm module."
}
variable "module_version" {
type = string
description = "If you want a specific version (or semver range) of the module define it here."
default = ""
}
variable "path_to_file" {
type = string
description = "The path inside of the npm module to the file you want to download."
}
variable "use_local" {
type = bool
description = "Fallback for using node.resolve for getting the module locally. Usually used for debug."
default = false
}
variable "local_cwd" {
type = string
description = "Root path where node.resolve should start looking for the local module."
default = null
}