-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathdata.tf
49 lines (40 loc) · 1.42 KB
/
data.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
data "archive_file" "ec2_python_shutdown" {
type = "zip"
source_file = "${path.module}/resources/ec2_shutdown.py"
output_path = "${path.module}/resources/ec2_shutdown.zip"
}
data "archive_file" "ec2_python_start" {
type = "zip"
source_file = "${path.module}/resources/ec2_start.py"
output_path = "${path.module}/resources/ec2_start.zip"
}
data "archive_file" "rds_python_shutdown" {
type = "zip"
source_file = "${path.module}/resources/rds_shutdown.py"
output_path = "${path.module}/resources/rds_shutdown.zip"
}
data "archive_file" "rds_python_start" {
type = "zip"
source_file = "${path.module}/resources/rds_start.py"
output_path = "${path.module}/resources/rds_start.zip"
}
data "archive_file" "asg_shutdown" {
type = "zip"
source_file = "${path.module}/resources/asg_shutdown.py"
output_path = "${path.module}/resources/asg_shutdown.zip"
}
data "archive_file" "asg_start" {
type = "zip"
source_file = "${path.module}/resources/asg_start.py"
output_path = "${path.module}/resources/asg_start.zip"
}
data "archive_file" "aurora_shutdown" {
type = "zip"
source_file = "${path.module}/resources/aurora_shutdown.py"
output_path = "${path.module}/resources/aurora_shutdown.zip"
}
data "archive_file" "aurora_start" {
type = "zip"
source_file = "${path.module}/resources/aurora_start.py"
output_path = "${path.module}/resources/aurora_start.zip"
}