Skip to content

Commit

Permalink
add lockfile
Browse files Browse the repository at this point in the history
  • Loading branch information
matifali committed Jun 3, 2024
1 parent b98a510 commit f1277ff
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 7 deletions.
47 changes: 47 additions & 0 deletions matlab/.terraform.lock.hcl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions matlab/main.tf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
terraform {
required_providers {
coder = {
source = "coder/coder"
source = "coder/coder"
}
docker = {
source = "kreuzwerker/docker"
Expand Down Expand Up @@ -30,7 +30,7 @@ data "coder_parameter" "server" {
description = "CTAR 402"
value = "ssh://ctar@ctar402"
icon = "/icon/container.svg"
}
}
option {
name = "ctar403"
description = "CTAR 403"
Expand Down Expand Up @@ -113,9 +113,9 @@ resource "coder_app" "matlab_desktop" {
}

resource "coder_agent" "main" {
arch = "amd64"
os = "linux"
startup_script = <<EOT
arch = "amd64"
os = "linux"
startup_script = <<EOT
#!/bin/bash
set -euo pipefail
# start Matlab browser
Expand Down Expand Up @@ -168,8 +168,8 @@ resource "coder_agent" "main" {
}

resource "docker_image" "matlab" {
name = "matifali/matlab:r2023a"
keep_locally = true
name = "matifali/matlab:r2023a"
keep_locally = true
}

#home_volume
Expand Down

0 comments on commit f1277ff

Please sign in to comment.