Skip to content

Commit 49f7e6e

Browse files
authored
Upgrade provider (#18)
* Upgrade provider * Change terraform references to tofu
1 parent 6d21536 commit 49f7e6e

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ Automated talos cluster with system extensions
1414
| [jq](https://stedolan.github.io/jq/) | Client |
1515
| [arp-scan](https://linux.die.net/man/1/arp-scan) | Client |
1616
| [talosctl](https://www.talos.dev/latest/learn-more/talosctl/) | Client |
17-
| [Terraform](https://www.terraform.io/) | Client |
17+
| [OpenTofu](https://opentofu.org/) | Client |
1818
| [HAproxy](http://www.haproxy.org/) | Raspberry Pi |
1919
| [Docker](https://docs.docker.com/) | Client |
2020

21-
`Client` refers to the node that will be executing `terraform apply` to create the cluster. The `Raspberry Pi` can be replaced with a VM or a LXC container.
21+
`Client` refers to the node that will be executing `tofu apply` to create the cluster. The `Raspberry Pi` can be replaced with a VM or a LXC container.
2222

2323
Docker is mandatory on the `Client` as this projects builds a custom talos image with system extensions using the [imager](https://github.com/siderolabs/talos/pkgs/container/installer) docker image on the `Client` itself.
2424

@@ -50,9 +50,9 @@ In the proxmox web portal, go to `Datacenter` > `Storage` > Click on `local` > `
5050
## Create the cluster
5151

5252
```
53-
terraform init -upgrade
54-
terraform plan
55-
terraform apply --auto-approve
53+
tofu init -upgrade
54+
tofu plan
55+
tofu apply --auto-approve
5656
```
5757

5858
## Expose your cluster to the internet (Optional)
@@ -71,4 +71,4 @@ Currently this only happens if you're running this inside on a proxmox node that
7171

7272
This project uses `arp-scan` to scan the local network using arp requests. In case your user does not have proper permissions to scan using the `virbr0` interface, then the talos VMs will not be found.
7373

74-
To fix this, either you can give your user access to the interface by adding it to `libvirt`, `libvirt-qemu` and `kvm` groups or you can just use `sudo`, in case you opt for solution 2, make sure to run the `talosctl kubeconfig` command generated for you in `talos_setup.sh` after `terraform apply` finishes.
74+
To fix this, either you can give your user access to the interface by adding it to `libvirt`, `libvirt-qemu` and `kvm` groups or you can just use `sudo`, in case you opt for solution 2, make sure to run the `talosctl kubeconfig` command generated for you in `talos_setup.sh` after `tofu apply` finishes.

main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ terraform {
77
}
88
proxmox = {
99
source = "bpg/proxmox"
10-
version = "0.69.1"
10+
version = "0.75.0"
1111
}
1212
}
1313
}

modules/domain/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ terraform {
22
required_providers {
33
proxmox = {
44
source = "bpg/proxmox"
5-
version = "0.69.1"
5+
version = "0.75.0"
66
}
77
}
88
}

modules/proxy/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ terraform {
22
required_providers {
33
proxmox = {
44
source = "bpg/proxmox"
5-
version = "0.69.1"
5+
version = "0.75.0"
66
}
77
}
88
}

0 commit comments

Comments
 (0)