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" {
2121
2222variable "private_subnets_cidr_blocks" {
2323 description = " List of CIDR blocks of the private subnets. The NAT instance accepts connections from this subnets"
24- type = list
24+ type = list ( string )
2525}
2626
2727variable "private_route_table_ids" {
2828 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 )
3030 default = []
3131}
3232
@@ -38,7 +38,7 @@ variable "image_id" {
3838
3939variable "instance_types" {
4040 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 )
4242 default = [" t3.nano" , " t3a.nano" ]
4343}
4444
@@ -56,19 +56,19 @@ variable "key_name" {
5656
5757variable "tags" {
5858 description = " Tags applied to resources created with this module"
59- type = map
59+ type = map ( string )
6060 default = {}
6161}
6262
6363variable "user_data_write_files" {
6464 description = " Additional write_files section of cloud-init"
65- type = list
65+ type = list ( any )
6666 default = []
6767}
6868
6969variable "user_data_runcmd" {
7070 description = " Additional runcmd section of cloud-init"
71- type = list
71+ type = list ( list ( string ))
7272 default = []
7373}
7474
You can’t perform that action at this time.
0 commit comments