diff --git a/base.tf.jinja b/base.tf.jinja index 4933859..ae85c70 100644 --- a/base.tf.jinja +++ b/base.tf.jinja @@ -76,18 +76,18 @@ resource "coder_agent" "main" { {% block code_server %} # code-server resource "coder_app" "code-server" { - agent_id = coder_agent.main.id - slug = "code-server" - name = "VS Code Web" - icon = "/icon/code.svg" - url = "http://localhost:13337?folder={{ vs_code_root|default("/home/coder", true) }}" - subdomain = false - share = "owner" + agent_id = coder_agent.main.id + slug = "code-server" + display_name = "VS Code Web" + icon = "/icon/code.svg" + url = "http://localhost:13337?folder={{ vs_code_root|default("/home/coder", true) }}" + subdomain = false + share = "owner" healthcheck { - url = "http://localhost:13337/healthz" - interval = 3 - threshold = 10 + url = "http://localhost:13337/healthz" + interval = 3 + threshold = 10 } } {% endblock %} diff --git a/jupyter.tf.jinja b/jupyter.tf.jinja index bf79a8d..c1ba462 100644 --- a/jupyter.tf.jinja +++ b/jupyter.tf.jinja @@ -4,18 +4,18 @@ {% block coder_apps %} resource "coder_app" "jupyter" { - agent_id = coder_agent.main.id - name = "Jupyter" - slug = "jupyter" - icon = "/icon/jupyter.svg" - url = "http://localhost:8888/" - subdomain = true - share = "owner" + agent_id = coder_agent.main.id + display_name = "Jupyter lab" + slug = "jupyter" + icon = "/icon/jupyter.svg" + url = "http://localhost:8888/" + subdomain = true + share = "owner" healthcheck { - url = "http://localhost:8888/api" - interval = 3 - threshold = 10 + url = "http://localhost:8888/api" + interval = 3 + threshold = 10 } } {% endblock %} diff --git a/splunk.tf.jinja b/splunk.tf.jinja index a758a9f..5be2c06 100644 --- a/splunk.tf.jinja +++ b/splunk.tf.jinja @@ -6,17 +6,17 @@ {% block coder_apps %} resource "coder_app" "splunk" { - agent_id = coder_agent.main.id - name = "splunk" - icon = "https://avatars.githubusercontent.com/u/651467?s=120&v=4" - url = "http://localhost:8000/" - subdomain = true - share = "public" + agent_id = coder_agent.main.id + display_name = "Splunk Web" + icon = "https://avatars.githubusercontent.com/u/651467?s=120&v=4" + url = "http://localhost:8000/" + subdomain = true + share = "public" healthcheck { - url = "http://localhost:8000/" - interval = 3 - threshold = 10 + url = "http://localhost:8000/" + interval = 3 + threshold = 10 } } {% endblock %}