-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmain.example.tf
More file actions
55 lines (48 loc) · 972 Bytes
/
main.example.tf
File metadata and controls
55 lines (48 loc) · 972 Bytes
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
47
48
49
50
51
52
53
54
55
terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = "~> 4.0"
}
archive = {
source = "hashicorp/archive"
version = "~> 2.2.0"
}
}
}
provider "archive" {}
provider "aws" {
region = "us-east-1"
default_tags {
tags = {
Environment = "dev"
Project = "minecraft"
DeployedBy = "Terraform"
}
}
}
provider "aws" {
region = "us-east-1"
alias = "us-east-1"
default_tags {
tags = {
Environment = "dev"
Project = "minecraft"
DeployedBy = "Terraform"
}
}
}
module "minecraft" {
source = "../minecraft"
providers = {
aws = aws
aws.us-east-1 = aws.us-east-1
}
region = "us-east-1"
account = "1234567890"
vpc_id = "vpc-abcd1234"
domain_name = "example.com"
cluster_name = "minecraft"
service_name = "minecraft-server"
s3_bucket_arn = "arn:aws:s3:::example-com-us-east-1"
}