Skip to content

Commit

Permalink
Add check to remove CUA deployment if it exists
Browse files Browse the repository at this point in the history
  • Loading branch information
ryonsteele committed Dec 21, 2023
1 parent 45723c0 commit fd11885
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/inf-create.sh
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,7 @@ echo $parameter_json > $DIR/../infra/main.parameters.json
#make sure bicep is always the latest version
az bicep upgrade

#Check and Remove if exists the CUA deployment Object to resolve Bicep limitations
az deployment sub delete --name "pid-${CUSTOMER_USAGE_ATTRIBUTION_ID}"

#deploy bicep
Expand Down

0 comments on commit fd11885

Please sign in to comment.