🔥: remove ovh related provider
Some checks failed
terraform-lint / terraform-lint (push) Failing after 2s
Some checks failed
terraform-lint / terraform-lint (push) Failing after 2s
This commit is contained in:
@@ -3,8 +3,6 @@ locals {
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILxJNQPyVqQG1C5xEMuyUF9AzZd8s5J7k0kZ7qzn9a0P cveret@HLD5CD4424T4V",
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDjHhcQS8S9k/GX9TyD2F6/jOWwSvoYDIXetLOi0Nm2t mortal@baybay-ponay.mateu.be"
|
||||
]
|
||||
public_ipv4_addr = "82.66.135.228"
|
||||
private_ipv4_prefix = "10.233.212"
|
||||
public_ipv6_prefix = "2a01:e0a:9bd:2811"
|
||||
infra_related_domain = "mateu.be"
|
||||
}
|
||||
|
@@ -1,18 +1,3 @@
|
||||
# Add a record to a sub-domain
|
||||
resource "ovh_domain_zone_record" "record_v4" {
|
||||
zone = local.infra_related_domain
|
||||
subdomain = "${var.server_name}.dmz"
|
||||
fieldtype = "A"
|
||||
target = local.public_ipv4_addr
|
||||
}
|
||||
|
||||
resource "ovh_domain_zone_record" "record_v6" {
|
||||
zone = local.infra_related_domain
|
||||
subdomain = "${var.server_name}.dmz"
|
||||
fieldtype = "AAAA"
|
||||
target = "${local.public_ipv6_prefix}::${var.ip_suffix}"
|
||||
}
|
||||
|
||||
resource "proxmox_virtual_environment_container" "container" {
|
||||
node_name = "serenor"
|
||||
description = var.server_desc
|
||||
|
@@ -1,9 +1,5 @@
|
||||
terraform {
|
||||
required_providers {
|
||||
ovh = {
|
||||
source = "ovh/ovh"
|
||||
version = "1.6.0"
|
||||
}
|
||||
proxmox = {
|
||||
source = "bpg/proxmox"
|
||||
version = "0.71.0"
|
||||
|
Reference in New Issue
Block a user