Compare commits

..

No commits in common. "b26ff582a4ce62de09d2eb3066b5054d7e6f31ef" and "114bfb9772745ea61c5d82d7ab1bdca70f03fd76" have entirely different histories.

5 changed files with 8 additions and 10 deletions

View File

@ -16,7 +16,6 @@ jobs:
pull-requests: write
env:
TF_VAR_SSH_KEY: ${{ secrets.SSH_KEY }}
TF_VAR_TS_AUTHKEY: ${{ secrets.TAILSCALE_KEY }}
TF_VAR_ssh_key: ${{ secrets.SSH_PUBLIC_KEY }}

View File

@ -14,11 +14,9 @@ jobs:
pull-requests: write
env:
TF_VAR_SSH_KEY: ${{ secrets.SSH_KEY }}
TF_VAR_TS_AUTHKEY: ${{ secrets.TAILSCALE_KEY }}
TF_VAR_ssh_key: ${{ secrets.SSH_PUBLIC_KEY }}
steps:
- name: Checkout repository
uses: actions/checkout@v4

View File

@ -17,10 +17,11 @@ jobs:
pull-requests: write
env:
TF_VAR_SSH_KEY: ${{ secrets.SSH_KEY }}
TF_VAR_TAILSCALE_KEY: ${{ secrets.TAILSCALE_KEY }}
TF_VAR_TS_AUTHKEY: ${{ secrets.TAILSCALE_KEY }}
TF_VAR_ssh_key: ${{ secrets.SSH_PUBLIC_KEY }}
steps:
- name: Checkout repository
uses: actions/checkout@v4

View File

@ -4,7 +4,7 @@ data "template_file" "cloud_init_alpaca" {
template = file("${path.module}/files/cloud_init.yaml")
vars = {
ssh_key = var.SSH_KEY
ssh_key = var.ssh_key
hostname = "alpaca-${count.index + 1}"
domain = "home.arpa"
TS_AUTHKEY = var.TS_AUTHKEY
@ -39,7 +39,7 @@ data "template_file" "cloud_init_llama" {
template = file("${path.module}/files/cloud_init.yaml")
vars = {
ssh_key = var.SSH_KEY
ssh_key = var.ssh_key
hostname = "llama-${count.index + 1}"
domain = "home.arpa"
TS_AUTHKEY = var.TS_AUTHKEY

View File

@ -80,8 +80,8 @@ variable "TS_AUTHKEY" {
}
variable "SSH_KEY" {
variable "ssh_key" {
type = string
description = "Private SSH key used to upload cloud-init files to Proxmox"
description = "Public SSH key used by cloud-init"
}