Tabs

resource "terminal" "shell" {
  title = "Vault terminal"

  target = resource.container.vault
  shell = "/bin/sh"
  user = "root"
  group = "root"
  prompt = "%%{%f%b%k%}$(build_prompt)"
  theme = "dracula"
  working_directory = "/root"
  #command = ["watch", "-n", "1", "ls -lha"]
}
resource "service" "vault_ui" {
  title = "Vault UI"

  target = resource.container.vault
  scheme = "http"
  port = 8200
  path = "/ui"
}
resource "editor" "code" {
  title = "Visual Studio Code"
  
  workspace "assets" {
    directory = "files"
  }

  workspace "vault_config" {
    target = resource.container.vault
    directory = "/etc/vault.d"
  }
}
resource "note" "addendum" {
  title = "Addendum"
  
  file = "notes/addendum.md"
  variables = {
    version = "0.12"
  }
}
resource "external_website" "iframe_new_window" {
  title = "Iframe website"

  url = "https://docs.instruqt.com"

  open_in_new_window = true
}

Last updated