-
Notifications
You must be signed in to change notification settings - Fork 2
/
main.tf
62 lines (47 loc) · 1.16 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
module "resources" {
source = "./terraform"
prefix = var.prefix
stage = var.stage
}
variable "prefix" {
type = string
}
variable "stage" {
type = string
}
output "batchJobDefinitionArn" {
description = "Definition of batch job"
value = module.resources.batchJobDefinition
}
output "batchJobQueueName" {
description = "Batch Job queue"
value = module.resources.batchJobQueueName
}
output "batchComputeEnvArn" {
description = "ARN of batch compute environment"
value = module.resources.batchComputeEnvArn
}
output "ecsClusterArn" {
description = "ECS cluster created by Batch compute environment"
value = module.resources.ecsClusterArn
}
output "snsTopic" {
description = "SNS Topic that subscribes to changes in Batch Job status"
value = module.resources.snsTopic
}
output "bucket" {
description = "CODM activated bucket"
value = module.resources.bucket
}
output "docker_image" {
description = "CODM docker image"
value = module.resources.docker_image
}
output "prefix" {
description = "CODM prefix"
value = var.prefix
}
output "stage" {
description = "CODM stage"
value = var.stage
}