Skip to content

Commit

Permalink
fix: terraform provider location for testing (#863)
Browse files Browse the repository at this point in the history
  • Loading branch information
jhvhs authored Apr 5, 2023
1 parent 7fe9816 commit 73252a0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ run-provider-tests: ## run the integration tests associated with providers
cd providers/terraform-provider-csbdynamodbns; $(MAKE) test

custom.tfrc:
echo "provider_installation {\n filesystem_mirror {\n path = "'"'"$(PWD)/providers/build"'"'"\n include = ["'"'"cloudfoundry.org/*/*"'"'"]\n }\n direct {\n exclude = ["'"'"cloudfoundry.org/*/*"'"'"]\n }\n}" > $@
sed "s#BROKERPAK_PATH#$(PWD)#" custom.tfrc.template > $@

###### info ###################################################################

Expand Down
10 changes: 10 additions & 0 deletions custom.tfrc.template
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
provider_installation {
filesystem_mirror {
path = "BROKERPAK_PATH/providers/build"
include = ["cloudfoundry.org/*/*"]
}
direct {
exclude = ["cloudfoundry.org/*/*"]
}
}

0 comments on commit 73252a0

Please sign in to comment.