Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Policy creation succeeds even if the policy mode in the request is not capitalized, however, when fetching the policy mode value from Azure, the correct capitalized version is returned, which causes the Terraform state and configuration to be different. Ideally, there should be an enum with a set of allowed values, but this is not the case in the latest version of the Azure Rest API specs. However, the supported mode values are returned in the error response when an invalid mode is requested. Fixes #8748
- Loading branch information