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: commands:
- tflint --color - tflint --color
- name: tofu - name: terraform
image: quay.io/thegeeklab/wp-opentofu image: docker.io/jmccann/drone-terraform:8
settings: settings:
action: actions:
- validate - validate
tofu_version: 1.6.1 tf_version: 1.5.0

View File

@ -98,7 +98,7 @@ resource "restapi_object" "ucs_server" {
"a" : concat( "a" : concat(
[ [
for k, v in flatten(coalesce(proxmox_virtual_environment_vm.server[each.value.name].ipv4_addresses, [])) : 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 { terraform {
required_providers { required_providers {
cloudflare = { cloudflare = {
source = "registry.opentofu.org/cloudflare/cloudflare" source = "cloudflare/cloudflare"
} }
proxmox = { proxmox = {
source = "registry.opentofu.org/bpg/proxmox" source = "bpg/proxmox"
} }
restapi = { restapi = {
source = "registry.opentofu.org/thegeeklab/restapi" source = "mastercard/restapi"
} }
} }
} }