Skip to content

Commit

Permalink
update library url
Browse files Browse the repository at this point in the history
  • Loading branch information
lonegunmanb committed Feb 27, 2025
1 parent de60640 commit ce13aa6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions avm_scripts/conftest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ for d in $(find . -maxdepth 1 -mindepth 1 -type d); do
terraform show -json tfplan.binary > tfplan.json

if [ -d "exceptions" ]; then
conftest test --all-namespaces --update git::https://github.com/lonegunmanb/policy-library-avmrego.git//policy/Azure-Proactive-Resiliency-Library-v2 -p policy -p exceptions tfplan.json || has_error=true
conftest test --all-namespaces --update git::https://github.com/Azure/policy-library-avm.git//policy/Azure-Proactive-Resiliency-Library-v2 -p policy -p exceptions tfplan.json || has_error=true
else
conftest test --all-namespaces --update git::https://github.com/lonegunmanb/policy-library-avmrego.git//policy/Azure-Proactive-Resiliency-Library-v2 tfplan.json || has_error=true
conftest test --all-namespaces --update git::https://github.com/Azure/policy-library-avm.git//policy/Azure-Proactive-Resiliency-Library-v2 tfplan.json || has_error=true
fi

cd - >/dev/null 2>&1
Expand Down
4 changes: 4 additions & 0 deletions avmmakefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
REMOTE_SCRIPT := https://raw.githubusercontent.com/Azure/tfmod-scaffold/main/avm_scripts$(AVMSCRIPT_VERSION)

.PHONY: conftest
conftest:
curl -H 'Cache-Control: no-cache, no-store' -sSL "$(REMOTE_SCRIPT)/conftest.sh" | bash

.PHONY: docs
docs:
curl -H 'Cache-Control: no-cache, no-store' -sSL "$(REMOTE_SCRIPT)/docs-gen.sh" | bash
Expand Down

0 comments on commit ce13aa6

Please sign in to comment.