Cleaning up unused resources
This commit is contained in:
parent
778b995980
commit
1f6f013634
@ -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
|
|
||||||
}
|
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -1,4 +0,0 @@
|
|||||||
resource vultr_vpc athens {
|
|
||||||
description = "Private VPC for private and personal service projects"
|
|
||||||
region = var.cluster.region
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user