Previously, all resouces were created with a certain tag. When the cleanup phase came, the Resources - List route[1] was used to get all resources with the tag. Then, they were deleted in the right order. Sadly, the Resources - List API has issues with listing disks. Sometimes, it returns the virtual disks 15 minutes after they were created. As the result, the disks have been left behind quite often and our bill was higher than necessary. This commit uses a different method - the Go code now knows all resource names (see the previous commit), so it can delete all resources without listing them using the "broken" API route. [1]: https://docs.microsoft.com/en-us/rest/api/resources/resources/list |
||
|---|---|---|
| .. | ||
| azuretest | ||
| constants | ||
| openstacktest | ||
| aws.go | ||
| context-managers.go | ||
| helpers.go | ||
| main_test.go | ||
| netns.go | ||