terraform-iaas-api-basic-ha.../01-config.tf
Mauritz Uphoff 557eb6ebd3
All checks were successful
CI / Terraform Format & Validate (push) Successful in 8s
CI / TruffleHog Secrets Scan (push) Successful in 30s
chomp keypair
2025-06-11 15:17:52 +02:00

20 lines
423 B
HCL

# STACKIT Service Account Token
variable "STACKIT_SERVICE_ACCOUNT_TOKEN" {
type = string
description = ""
}
variable "STACKIT_PROJECT_ID" {
type = string
description = ""
}
variable "debian_image" {
type = string
default = "b641bf53-4dd4-4ba9-a1ff-9739920fbe73"
}
resource "stackit_key_pair" "admin_keypair" {
name = "admin-keypair"
public_key = chomp(file("~/.ssh/id_rsa.pub"))
}