Compare commits

..

No commits in common. "b01508236b3d1c3ad34e96367a7ac6a0efd6428c" and "508014a73ee480c82b74783838d1df21490477fa" have entirely different histories.

3 changed files with 8 additions and 8 deletions

View File

@ -16,9 +16,9 @@ steps:
commands:
- tflint --color
- name: tofu
image: quay.io/thegeeklab/wp-opentofu
- name: terraform
image: docker.io/jmccann/drone-terraform:8
settings:
action:
actions:
- validate
tofu_version: 1.6.1
tf_version: 1.5.0

View File

@ -98,7 +98,7 @@ resource "restapi_object" "ucs_server" {
"a" : concat(
[
for k, v in flatten(coalesce(proxmox_virtual_environment_vm.server[each.value.name].ipv4_addresses, [])) :
v if length(regexall(proxmox_virtual_environment_vm.server[each.value.name].network_interface_names[k], "^(lo|docker).*")) == 0
v if k != try(index(proxmox_virtual_environment_vm.server[each.value.name].network_interface_names, "lo"), -1)
],
),
}

View File

@ -1,13 +1,13 @@
terraform {
required_providers {
cloudflare = {
source = "registry.opentofu.org/cloudflare/cloudflare"
source = "cloudflare/cloudflare"
}
proxmox = {
source = "registry.opentofu.org/bpg/proxmox"
source = "bpg/proxmox"
}
restapi = {
source = "registry.opentofu.org/thegeeklab/restapi"
source = "mastercard/restapi"
}
}
}