feat: python gitignore

This commit is contained in:
2025-12-22 10:50:43 -05:00
parent cb05e7e9f7
commit 156c0113f1
4 changed files with 263 additions and 0 deletions

15
terraform/main.tf Normal file
View File

@@ -0,0 +1,15 @@
resource "hcloud_ssh_key" "main" {
name = "my-ssh-key"
public_key = file("~/.ssh/id_ed25519.pub")
}
resource "hcloud_server" "jumphost" {
for_each = local.boxes
name = each.key.name
image = "debian-12"
server_type = "cx23"
public_net {
ipv4_enabled = true
ipv6_enabled = true
}
}

18
terraform/providers.tf Normal file
View File

@@ -0,0 +1,18 @@
terraform {
backend "s3" {
skip_credentials_validation = true
skip_region_validation = true
skip_requesting_account_id = true
}
required_providers {
hcloud = {
source = "hetznercloud/hcloud"
version = "~> 1.45"
}
}
}
provider "hcloud" {
token = var.hcloud_token
}

12
terraform/variables.tf Normal file
View File

@@ -0,0 +1,12 @@
variable "hcloud_token" {
sensitive = true
}
locals {
boxes = [
{
name = "jumpbox"
type = "cx23"
}
]
}