Cleaning up unused resources
Some checks failed
Ansible Linting / ansible-lint (push) Failing after 10s
Secops Linting and Safety Checks / checkov-scan-s3 (push) Failing after 9s

This commit is contained in:
shockrah 2025-09-08 20:58:29 -07:00
parent 778b995980
commit 1f6f013634
4 changed files with 2 additions and 33 deletions

View File

@ -1,27 +0,0 @@
resource tls_private_key bastion {
algorithm = "ED25519"
}
resource vultr_ssh_key bastion {
name = "bastion"
ssh_key = tls_private_key.bastion.public_key_openssh
}
resource vultr_instance bastion {
region = var.cluster.region
vpc_ids = [ vultr_vpc.athens.id ]
plan = var.bastion.plan
os_id = var.bastion.os
label = var.bastion.label
ssh_key_ids = [ vultr_ssh_key.bastion.id ]
enable_ipv6 = true
disable_public_ipv4 = false
activation_email = false
}
output bastion_ssh {
value = tls_private_key.bastion.private_key_pem
sensitive = true
}

View File

@ -2,7 +2,7 @@ resource vultr_kubernetes athens {
region = var.cluster.region region = var.cluster.region
version = var.cluster.version version = var.cluster.version
label = var.cluster.label label = var.cluster.label
vpc_id = vultr_vpc.athens.id # vpc_id = vultr_vpc.athens.id
node_pools { node_pools {
node_quantity = var.cluster.pools["main"].min_nodes node_quantity = var.cluster.pools["main"].min_nodes

View File

@ -1,7 +1,7 @@
cluster = { cluster = {
region = "lax" region = "lax"
label = "athens-cluster" label = "athens-cluster"
version = "v1.33.0+1" version = "v1.33.0+3"
pools = { pools = {
main = { main = {
node_quantity = 1 node_quantity = 1

View File

@ -1,4 +0,0 @@
resource vultr_vpc athens {
description = "Private VPC for private and personal service projects"
region = var.cluster.region
}