Skip to content

Commit e4e4a16

Browse files
committed
chore: update pactflow.tf acceptance config for 0.0.13
1 parent b5f3f21 commit e4e4a16

File tree

1 file changed

+16
-4
lines changed

1 file changed

+16
-4
lines changed

acceptance/pactflow/pactflow.tf

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
# Required as of Terraform version 0.0.13
2+
terraform {
3+
required_version = ">= 0.13"
4+
required_providers {
5+
pact = {
6+
source = "github.com/pactflow/pact"
7+
versions = ["0.0.1"]
8+
}
9+
}
10+
}
11+
12+
provider "pact" {
13+
host = "https://tf-acceptance.pact.dius.com.au"
14+
access_token = var.api_token
15+
}
16+
117
variable "api_token" {
218
type = string
319
}
@@ -6,10 +22,6 @@ variable "build_number" {
622
type = string
723
}
824

9-
provider "pact" {
10-
host = "https://tf-acceptance.pact.dius.com.au"
11-
access_token = var.api_token
12-
}
1325

1426
resource "pact_pacticipant" "AdminUI" {
1527
name = "AdminUI${var.build_number}"

0 commit comments

Comments
 (0)