Fix linting issues again

pull/165/head
FlorianGareis 1 year ago
parent 33e1348d5a
commit ab190b0e58
No known key found for this signature in database

@ -19,7 +19,6 @@ module "node-via-nvm" {
}
```
### Install multiple versions
This installs multiple versions of node
@ -41,12 +40,13 @@ module "node-via-nvm" {
### Full example
A example with all available options:
```tf
module "node-via-nvm" {
source = "registry.coder.com/modules/node-via-nvm/coder"
version = "1.0.2"
agent_id = coder_agent.example.id
nvm_version = "v0.39.7"
source = "registry.coder.com/modules/node-via-nvm/coder"
version = "1.0.2"
agent_id = coder_agent.example.id
nvm_version = "v0.39.7"
nvm_install_prefix = "/opt/nvm"
node_versions = [
"16",

@ -29,7 +29,7 @@ variable "nvm_install_prefix" {
variable "node_versions" {
type = list(string)
description = "A list of node versions to install."
default = ["node"]
default = ["node"]
}
variable "default_node_version" {
@ -40,6 +40,7 @@ variable "default_node_version" {
resource "coder_script" "node" {
agent_id = var.agent_id
display_name = "node-via-nvm"
script = templatefile("${path.module}/run.sh", {
NVM_VERSION : var.nvm_version,
INSTALL_PREFIX : var.nvm_install_prefix,

Loading…
Cancel
Save