- Removed network, floating IP, volume, firewall, cloud-init (overkill for current setup) - Matched config to actual server: cpx11, ash, krusty-clearnet - Imported existing server (125941041) into Terraform state - Applied labels (project=krustyplanet, role=web) - Added outputs.tf for server_id, ipv4, location - Added .gitignore for tfvars/state/secrets
9 lines
353 B
HCL
9 lines
353 B
HCL
###############################################################################
|
|
# variables.tf
|
|
###############################################################################
|
|
|
|
variable "hcloud_token" {
|
|
description = "Hetzner Cloud API token (read/write). Set via TF_VAR_hcloud_token or terraform.tfvars."
|
|
type = string
|
|
sensitive = true
|
|
}
|