Skip to content

Commit

Permalink
chore: update pactflow.tf acceptance config for 0.0.13
Browse files Browse the repository at this point in the history
  • Loading branch information
mefellows committed Oct 26, 2020
1 parent b5f3f21 commit e4e4a16
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions acceptance/pactflow/pactflow.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
# Required as of Terraform version 0.0.13
terraform {
required_version = ">= 0.13"
required_providers {
pact = {
source = "github.com/pactflow/pact"
versions = ["0.0.1"]
}
}
}

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

variable "api_token" {
type = string
}
Expand All @@ -6,10 +22,6 @@ variable "build_number" {
type = string
}

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

resource "pact_pacticipant" "AdminUI" {
name = "AdminUI${var.build_number}"
Expand Down

0 comments on commit e4e4a16

Please sign in to comment.