* feat: add git-commit-signing module * feat(git-commit-signing): check for git and jq * fix(git-commit-signing): only use icon once * fix(git-commit-signing): fix typo in README Co-authored-by: Muhammad Atif Ali <matifali@live.com> * bun fmt * chore: clarify readme SSH key paragraph * fix: add `curl` as dependency * feat: download keys to ~/.ssh/git-commit-signing * feat: add conflict disclaimer --------- Co-authored-by: Muhammad Atif Ali <matifali@live.com> Co-authored-by: Atif Ali <atif@coder.com>
26 lines
511 B
HCL
26 lines
511 B
HCL
terraform {
|
|
required_version = ">= 1.0"
|
|
|
|
required_providers {
|
|
coder = {
|
|
source = "coder/coder"
|
|
version = ">= 0.12"
|
|
}
|
|
}
|
|
}
|
|
|
|
variable "agent_id" {
|
|
type = string
|
|
description = "The ID of a Coder agent."
|
|
}
|
|
|
|
resource "coder_script" "git-commit-signing" {
|
|
display_name = "Git commit signing"
|
|
icon = "https://raw.githubusercontent.com/coder/modules/main/.icons/git.svg"
|
|
|
|
script = file("${path.module}/run.sh")
|
|
run_on_start = true
|
|
|
|
agent_id = var.agent_id
|
|
}
|