Skip to content

Commit

Permalink
Merge pull request #9077 from joerage/master
Browse files Browse the repository at this point in the history
azurerm_dev_test_policy - fixed deletion
  • Loading branch information
tombuildsstuff authored Oct 29, 2020
2 parents d39df68 + a5fcab8 commit a169cab
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ func resourceArmDevTestPolicyDelete(d *schema.ResourceData, meta interface{}) er
policySetName := id.Path["policysets"]
name := id.Path["policies"]

read, err := client.Get(ctx, resourceGroup, policySetName, labName, name, "")
read, err := client.Get(ctx, resourceGroup, labName, policySetName, name, "")
if err != nil {
if utils.ResponseWasNotFound(read.Response) {
// deleted outside of TF
Expand Down

0 comments on commit a169cab

Please sign in to comment.