Skip to content

Commit

Permalink
Merge pull request #2564 from terraform-providers/express_route/fixacc
Browse files Browse the repository at this point in the history
azurerm_express_route_circuit_peering: fix testAccAzureRMExpressRouteCircuitPeering_azurePrivatePeering acc test
  • Loading branch information
katbyte authored Dec 21, 2018
2 parents 6382c64 + 1c2c6e5 commit 0a4ef4b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions azurerm/resource_arm_express_route_circuit_peering.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ func resourceArmExpressRouteCircuitPeering() *schema.Resource {
Read: resourceArmExpressRouteCircuitPeeringRead,
Update: resourceArmExpressRouteCircuitPeeringCreateUpdate,
Delete: resourceArmExpressRouteCircuitPeeringDelete,

Importer: &schema.ResourceImporter{
State: schema.ImportStatePassthrough,
},
Expand Down
7 changes: 4 additions & 3 deletions azurerm/resource_arm_express_route_circuit_peering_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,10 @@ func testAccAzureRMExpressRouteCircuitPeering_azurePrivatePeering(t *testing.T)
),
},
{
ResourceName: resourceName,
ImportState: true,
ImportStateVerify: true,
ResourceName: resourceName,
ImportState: true,
ImportStateVerify: true,
ImportStateVerifyIgnore: []string{"shared_key"}, //is not returned by the API
},
},
})
Expand Down

0 comments on commit 0a4ef4b

Please sign in to comment.