This repository was archived by the owner on Jul 20, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +26
-15
lines changed Expand file tree Collapse file tree 3 files changed +26
-15
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ name : terraform
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - master
7
+ pull_request :
8
+ paths :
9
+ - .github/workflows/terraform.yaml
10
+ - ' **/*.tf'
11
+ - ' **/.terraform.*'
12
+
13
+ jobs :
14
+ validate :
15
+ runs-on : ubuntu-latest
16
+ timeout-minutes : 10
17
+ steps :
18
+ - uses : actions/checkout@v2
19
+ - uses : hashicorp/setup-terraform@v1
20
+ - run : make
Original file line number Diff line number Diff line change @@ -21,12 +21,12 @@ variable "public_subnet" {
21
21
22
22
variable "private_subnets_cidr_blocks" {
23
23
description = " List of CIDR blocks of the private subnets. The NAT instance accepts connections from this subnets"
24
- type = list
24
+ type = list ( string )
25
25
}
26
26
27
27
variable "private_route_table_ids" {
28
28
description = " List of ID of the route tables for the private subnets. You can set this to assign the each default route to the NAT instance"
29
- type = list
29
+ type = list ( string )
30
30
default = []
31
31
}
32
32
@@ -38,7 +38,7 @@ variable "image_id" {
38
38
39
39
variable "instance_types" {
40
40
description = " Candidates of spot instance type for the NAT instance. This is used in the mixed instances policy"
41
- type = list
41
+ type = list ( string )
42
42
default = [" t3.nano" , " t3a.nano" ]
43
43
}
44
44
@@ -56,19 +56,19 @@ variable "key_name" {
56
56
57
57
variable "tags" {
58
58
description = " Tags applied to resources created with this module"
59
- type = map
59
+ type = map ( string )
60
60
default = {}
61
61
}
62
62
63
63
variable "user_data_write_files" {
64
64
description = " Additional write_files section of cloud-init"
65
- type = list
65
+ type = list ( any )
66
66
default = []
67
67
}
68
68
69
69
variable "user_data_runcmd" {
70
70
description = " Additional runcmd section of cloud-init"
71
- type = list
71
+ type = list ( list ( string ))
72
72
default = []
73
73
}
74
74
You can’t perform that action at this time.
0 commit comments