Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: add logic to skip subnet update under certain conditions
This commit addresses the need for the subnet/write permissions. Currently, in all scenarios, the subnet/write permission is used via the subnet.CreateOrUpdate method. This change adds logic to determine if the values are already set to Disabled and skips running the subnet.CreateOrUpdate method if it is already set appropriately. This will save the need to make an extra API call and also allow users to configure things like Azure policy where subnet/write permissions are not needed. Signed-off-by: Dustin Scott <[email protected]>
- Loading branch information