Skip to content

Commit

Permalink
Execution timeouts (#73)
Browse files Browse the repository at this point in the history
  • Loading branch information
grem11n authored Apr 20, 2021
1 parent 61df71b commit bdf8c46
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/terratest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
terraform: ['0.12.30', '0.13.6', '0.14.6']
terraform: ['0.14.10', '0.15.0']
steps:
- name: 'Checkout'
uses: actions/checkout@master
Expand All @@ -34,12 +34,12 @@ jobs:
strategy:
max-parallel: 1
matrix:
terraform: ['0.14.6']
terraform: ['0.14.6', '0.15.0']
steps:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: '1.15'
go-version: '1.16'

- name: Checkout
uses: actions/checkout@v1
Expand Down
5 changes: 5 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ resource "aws_vpc_peering_connection" "this" {
vpc_id = var.this_vpc_id
peer_region = data.aws_region.peer.name
tags = merge(var.tags, tomap({ "Side" = local.same_acount_and_region ? "Both" : "Requester" }))
# hardcoded
timeouts {
create = "15m"
delete = "15m"
}
}

######################################
Expand Down

0 comments on commit bdf8c46

Please sign in to comment.