Skip to content

Commit bdf8c46

Browse files
authored
Execution timeouts (#73)
1 parent 61df71b commit bdf8c46

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

.github/workflows/terratest.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-latest
1515
strategy:
1616
matrix:
17-
terraform: ['0.12.30', '0.13.6', '0.14.6']
17+
terraform: ['0.14.10', '0.15.0']
1818
steps:
1919
- name: 'Checkout'
2020
uses: actions/checkout@master
@@ -34,12 +34,12 @@ jobs:
3434
strategy:
3535
max-parallel: 1
3636
matrix:
37-
terraform: ['0.14.6']
37+
terraform: ['0.14.6', '0.15.0']
3838
steps:
3939
- name: Set up Go
4040
uses: actions/setup-go@v2
4141
with:
42-
go-version: '1.15'
42+
go-version: '1.16'
4343

4444
- name: Checkout
4545
uses: actions/checkout@v1

main.tf

+5
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ resource "aws_vpc_peering_connection" "this" {
88
vpc_id = var.this_vpc_id
99
peer_region = data.aws_region.peer.name
1010
tags = merge(var.tags, tomap({ "Side" = local.same_acount_and_region ? "Both" : "Requester" }))
11+
# hardcoded
12+
timeouts {
13+
create = "15m"
14+
delete = "15m"
15+
}
1116
}
1217

1318
######################################

0 commit comments

Comments
 (0)