Skip to content

Update hashicorp/setup-terraform digest to b9cd54a #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
token: ${{ steps.generate-token.outputs.token }}

- name: Install Terraform ⛰️
uses: hashicorp/setup-terraform@651471c36a6092792c552e8b1bef71e592b462d8 # v3
uses: hashicorp/setup-terraform@b9cd54a3c349d3f38e8881555d616ced269862dd # v3

- name: Run TFLint βœ…
uses: terraform-linters/setup-tflint@19a52fbac37dacb22a09518e4ef6ee234f2d4987 # v4
Expand Down
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2018 The terraform-docs Authors.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
123 changes: 77 additions & 46 deletions production/host_01/README.md

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions production/host_01/providers.tf
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ terraform {
}

provider "proxmox" {
pm_api_url = "https://prod-host-01.binarybraids.com:8006/api2/json"
pm_user = "terraform@pve"
pm_api_url = "https://prod-host-01.binarybraids.com:8006/api2/json"
pm_user = "terraform@pve"
pm_password = "#{PROD_01_HOST_TERRAFORM_PASSWORD}#"
}
96 changes: 48 additions & 48 deletions production/host_01/terraform.tfvars
Original file line number Diff line number Diff line change
@@ -1,51 +1,51 @@
#Domain Controller
dc01_name = "vm-prod-dc-01"
dc01_desc = "Domain Controller"
dc01_automatic_reboot = true
dc01_bios = "ovmf"
dc01_boot = "order=sata0;sata1"
dc01_cores = 1
dc01_sockets = 2
dc01_cpu = "host"
dc01_force_create = false
dc01_hotplug = "disk,network,usb"
dc01_memory = 2048
dc01_onboot = true
dc01_vm_state = "running"
dc01_os_type = "Microsoft Windows 11/2022/2025"
dc01_qemu_os = "l26"
dc01_scsihw = "lsi"
dc01_protection = false
dc01_tablet = true
dc01_target_node = "prod-host-01.binarybraids.com"
dc01_efitype = "4m"
dc01_efi_storage = "VM-240GB-SSD"
dc01_disk_size = "75G"
dc01_disk_storage = "VM-240GB-SSD"
dc01_bridge = "vmbr0"
dc01_model = "virtio"
dc01_name = "vm-prod-dc-01"
dc01_desc = "Domain Controller"
dc01_automatic_reboot = true
dc01_bios = "ovmf"
dc01_boot = "order=sata0;sata1"
dc01_cores = 1
dc01_sockets = 2
dc01_cpu = "host"
dc01_force_create = false
dc01_hotplug = "disk,network,usb"
dc01_memory = 2048
dc01_onboot = true
dc01_vm_state = "running"
dc01_os_type = "Microsoft Windows 11/2022/2025"
dc01_qemu_os = "l26"
dc01_scsihw = "lsi"
dc01_protection = false
dc01_tablet = true
dc01_target_node = "prod-host-01.binarybraids.com"
dc01_efitype = "4m"
dc01_efi_storage = "VM-240GB-SSD"
dc01_disk_size = "75G"
dc01_disk_storage = "VM-240GB-SSD"
dc01_bridge = "vmbr0"
dc01_model = "virtio"

# File Server
media_name = "vm-prod-fs-01"
media_desc = "File Server"
media_automatic_reboot = true
media_bios = "seabios"
media_boot = "order=sata0"
media_cores = 2
media_sockets = 2
media_cpu = "host"
media_force_create = false
media_hotplug = "disk,network,usb"
media_memory = 1024
media_onboot = true
media_vm_state = "running"
media_os_type = "Linux 6.x - 2.6 Kernel"
media_qemu_os = "l26"
media_scsihw = "lsi"
media_protection = false
media_tablet = true
media_target_node = "prod-host-01.binarybraids.com"
media_disk_size = "20G"
media_disk_storage = "VM-240GB-SSD"
media_bridge = "vmbr0"
media_model = "virtio"
media_name = "vm-prod-fs-01"
media_desc = "File Server"
media_automatic_reboot = true
media_bios = "seabios"
media_boot = "order=sata0"
media_cores = 2
media_sockets = 2
media_cpu = "host"
media_force_create = false
media_hotplug = "disk,network,usb"
media_memory = 1024
media_onboot = true
media_vm_state = "running"
media_os_type = "Linux 6.x - 2.6 Kernel"
media_qemu_os = "l26"
media_scsihw = "lsi"
media_protection = false
media_tablet = true
media_target_node = "prod-host-01.binarybraids.com"
media_disk_size = "20G"
media_disk_storage = "VM-240GB-SSD"
media_bridge = "vmbr0"
media_model = "virtio"
102 changes: 51 additions & 51 deletions production/host_01/virtual_machines.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,25 @@

## Domain Controller
resource "proxmox_vm_qemu" "dc01" {
name = var.dc01_name
desc = var.dc01_desc
automatic_reboot = var.dc01_automatic_reboot
bios = var.dc01_bios
boot = var.dc01_boot
cores = var.dc01_cores
sockets = var.dc01_sockets
cpu = var.dc01_cpu
force_create = var.dc01_force_create
hotplug = var.dc01_hotplug
memory = var.dc01_memory
onboot = var.dc01_onboot
vm_state = var.dc01_vm_state
os_type = var.dc01_os_type
qemu_os = var.dc01_qemu_os
scsihw = var.dc01_scsihw
protection = var.dc01_protection
tablet = var.dc01_tablet
target_node = var.dc01_target_node
name = var.dc01_name
desc = var.dc01_desc
automatic_reboot = var.dc01_automatic_reboot
bios = var.dc01_bios
boot = var.dc01_boot
cores = var.dc01_cores
sockets = var.dc01_sockets
cpu = var.dc01_cpu
force_create = var.dc01_force_create
hotplug = var.dc01_hotplug
memory = var.dc01_memory
onboot = var.dc01_onboot
vm_state = var.dc01_vm_state
os_type = var.dc01_os_type
qemu_os = var.dc01_qemu_os
scsihw = var.dc01_scsihw
protection = var.dc01_protection
tablet = var.dc01_tablet
target_node = var.dc01_target_node

efidisk {
efitype = var.dc01_efitype
Expand All @@ -31,60 +31,60 @@ resource "proxmox_vm_qemu" "dc01" {
sata {
sata0 {
disk {
size = var.dc01_disk_size
storage = var.dc01_disk_storage
size = var.dc01_disk_size
storage = var.dc01_disk_storage
}
}
}
}

network {
bridge = var.dc01_bridge
model = var.dc01_model
bridge = var.dc01_bridge
model = var.dc01_model
}
}

# Media Server
resource "proxmox_vm_qemu" "media" {
name = var.media_name
desc = var.media_desc
automatic_reboot = var.media_automatic_reboot
bios = var.media_bios
boot = var.media_boot
cores = var.media_cores
sockets = var.media_sockets
cpu = var.media_cpu
force_create = var.media_force_create
hotplug = var.media_hotplug
memory = var.media_memory
onboot = var.media_onboot
vm_state = var.media_vm_state
os_type = var.media_os_type
qemu_os = var.media_qemu_os
scsihw = var.media_scsihw
protection = var.media_protection
tablet = var.media_tablet
target_node = var.media_target_node
name = var.media_name
desc = var.media_desc
automatic_reboot = var.media_automatic_reboot
bios = var.media_bios
boot = var.media_boot
cores = var.media_cores
sockets = var.media_sockets
cpu = var.media_cpu
force_create = var.media_force_create
hotplug = var.media_hotplug
memory = var.media_memory
onboot = var.media_onboot
vm_state = var.media_vm_state
os_type = var.media_os_type
qemu_os = var.media_qemu_os
scsihw = var.media_scsihw
protection = var.media_protection
tablet = var.media_tablet
target_node = var.media_target_node

disks {
sata {
sata0 {
disk {
backup = var.media_disk_backup
cache = var.media_disk_cache
discard = var.media_disk_discard
emulatessd = var.media_disk_emulatessd
size = var.media_disk_size
storage = var.media_disk_storage
backup = var.media_disk_backup
cache = var.media_disk_cache
discard = var.media_disk_discard
emulatessd = var.media_disk_emulatessd
size = var.media_disk_size
storage = var.media_disk_storage
}
}
}
}

network {
bridge = var.media_bridge
firewall = var.media_firewall
model = var.media_model
bridge = var.media_bridge
firewall = var.media_firewall
model = var.media_model
}
}

Expand Down
Loading
Loading