You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

52 lines
875 B

2 years ago
terraform {
cloud {
organization = "kejadlen"
workspaces {
name = "boxen"
}
}
required_providers {
linode = {
source = "linode/linode"
version = "2.18.0"
2 years ago
}
}
}
variable "soa_email" {
type = string
nullable = false
}
1 year ago
data "linode_instances" "ramble_hard" {
2 years ago
filter {
name = "label"
values = ["ramble-hard"]
}
}
1 year ago
data "linode_instances" "lotus_land_story" {
filter {
name = "label"
values = ["lotus-land-story"]
}
}
2 years ago
locals {
1 year ago
ramble_hard = data.linode_instances.ramble_hard.instances.0
lotus_land_story = data.linode_instances.lotus_land_story.instances.0
2 years ago
}
resource "linode_domain" "kejadlen_dev" {
2 years ago
type = "master"
domain = "kejadlen.dev"
soa_email = var.soa_email
}
resource "linode_domain" "chislan_family" {
type = "master"
domain = "chislan.family"
soa_email = var.soa_email
}