generated from ExamProCo/terraform-beginner-bootcamp-2023
-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.tf
46 lines (41 loc) · 1.07 KB
/
main.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
terraform {
required_providers {
terratowns = {
source = "local.providers/local/terratowns"
version = "1.0.0"
}
}
cloud {
organization = "tomiwa-terraform-bootcamp-2023"
workspaces {
name = "tomiwa-terra-house-1"
}
}
}
provider "terratowns" {
endpoint = var.terratowns_endpoint
user_uuid = var.teacherseat_user_uuid
token = var.terratowns_access_token
}
/*
provider "aws" {
# Configuration options
}
*/
module "terrahouse_aws" {
source = "./modules/terrahouse_aws"
bucket_name = var.bucket_name
content_version = var.content_version
}
resource "terratowns_home" "home" {
name = "How to play Arcanum in 2023!"
description = <<DESCRIPTION
Arcanum is a game from 2001 that shipped with alot of bugs.
Modders have removed all the originals making this game really fun
to play (despite that old look graphics). This is my guide that will
show you how to play arcanum without spoiling the plot.
DESCRIPTION
domain_name = module.terrahouse_aws.cdn_domain_name
town = "missingo"
content_version = var.content_version
}