a few updates

This commit is contained in:
Jakub Kropáček 2024-05-20 14:56:53 +02:00
parent 66b38fddbf
commit ee97dd66e8
5 changed files with 23 additions and 13 deletions

4
.gitignore vendored
View file

@ -161,4 +161,6 @@ cython_debug/
.idea/
.terraform
.terraform
variables.tf

View file

@ -12,7 +12,7 @@ apt.packages(
apt.packages(
name="Install useful packages",
packages=["htop", "curl", "ufw"],
packages=["htop", "curl", "ufw", "qemu-guest-agent"],
)
apt.packages(

4
tf/provider.tf Normal file
View file

@ -0,0 +1,4 @@
provider "cloudflare" {
api_token = var.cloudflare_api_token
}

View file

@ -1,11 +0,0 @@
variable "account_id" {
default = "08bb05d860b3d1658acb618eb09e5e0c"
}
variable "togetherdays_cz_zone_id" {
default = "b841e046cd3b2c9b4adf4edf15962ee3"
}
variable "katuwoss_dev_zone_id" {
default = "14c68181a0e905b07a00cac2b83d7d4d"
}

15
tf/variables.tf.example Normal file
View file

@ -0,0 +1,15 @@
variable "account_id" {
default = "CLOUDFLARE_ACCOUNT_ID"
}
variable "togetherdays_cz_zone_id" {
default = "TOGETHERDAYS_ZONE_ID"
}
variable "katuwoss_dev_zone_id" {
default = "KATUWOSS_ZONE_ID"
}
variable "cloudflare_api_token" {
default = "CLOUDFLARE_API_TOKEN"
}