7 Commits

Author SHA1 Message Date
22707124b4 chore(release): v0.5.2 (#11)
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
chore(release): 0.5.2

Co-authored-by: cuddle-please <bot@cuddle.sh>
Reviewed-on: https://git.front.kjuulh.io/kjuulh/clank-node/pulls/11
2025-01-11 22:06:28 +01:00
1f65d3c75e feat: add ability to set disk size
All checks were successful
continuous-integration/drone/push Build is passing
2025-01-11 22:05:44 +01:00
caa489fbf9 chore(release): v0.5.1 (#10)
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
chore(release): 0.5.1

Co-authored-by: cuddle-please <bot@cuddle.sh>
Reviewed-on: https://git.front.kjuulh.io/kjuulh/clank-node/pulls/10
2025-01-11 22:02:26 +01:00
94b701b133 feat: add on boot true for all nodes
All checks were successful
continuous-integration/drone/push Build is passing
2025-01-11 22:00:42 +01:00
90ecf5b603 chore(release): v0.5.0 (#9)
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
chore(release): 0.5.0

Co-authored-by: cuddle-please <bot@cuddle.sh>
Reviewed-on: https://git.front.kjuulh.io/kjuulh/clank-node/pulls/9
2024-12-01 22:43:19 +01:00
f9a664763f feat: remove private variables
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: kjuulh <contact@kjuulh.io>
2024-12-01 22:42:48 +01:00
789b2ab2a2 feat: remove provider
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: kjuulh <contact@kjuulh.io>
2024-12-01 22:39:45 +01:00
4 changed files with 23 additions and 16 deletions

View File

@@ -6,6 +6,22 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
## [0.5.2] - 2025-01-11
### Added
- add ability to set disk size
## [0.5.1] - 2025-01-11
### Added
- add on boot true for all nodes
## [0.5.0] - 2024-12-01
### Added
- remove private variables
- remove provider
## [0.4.0] - 2024-11-30
### Added

View File

@@ -65,6 +65,8 @@ resource "proxmox_vm_qemu" "node" {
bootdisk = "scsi0"
scsihw = "virtio-scsi-single"
onboot = true
serial {
id = 0
}
@@ -82,7 +84,7 @@ resource "proxmox_vm_qemu" "node" {
disk {
storage = "local"
# The size of the disk should be at least as big as the disk in the template. If it's smaller, the disk will be recreated
size = "10G"
size = var.disk_size
}
}
}

View File

@@ -8,10 +8,3 @@ terraform {
required_version = ">= 0.13"
}
provider "proxmox" {
pm_api_url = var.proxmox_url
pm_user = var.proxmox_user
pm_password = var.proxmox_password
pm_tls_insecure = true
}

View File

@@ -3,14 +3,6 @@ variable "proxmox_url" {
default = "https://proxmox.i.kjuulh.io/api2/json"
}
variable "proxmox_user" {
description = "proxmox username (eg. <name>@pve)"
}
variable "proxmox_password" {
description = "proxmox password"
}
variable "proxmox_ip" {
description = "the ip address of the proxmox instance"
default = "10.0.11.0"
@@ -65,3 +57,7 @@ variable "cpu" {
variable "memory" {
default = 512
}
variable "disk_size" {
default = "10G"
}