You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you want to implement this feature, comment to let us know (we'll work with you on design, scheduling, etc.)
Issue details
Using the following code which has a rather subtle error for the Domain resource:
const baseName = "pulumi"
const resourceGroup = new azure_native.resources.ResourceGroup(`${baseName}-rg`)
// Create an Azure Communication Services Email Service
const emailService = new azure_native.communication.EmailService(`${baseName}-ems`, {
resourceGroupName: resourceGroup.name,
location: "Global",
dataLocation: "United States",
});
// Create an Email Domain associated with the Email Service
const emailDomain = new azure_native.communication.Domain(`${baseName}-dom`, {
domainManagement: "AzureManagedDomain", // This is THE INCORRECT STRING VALUE
emailServiceName: emailService.name,
location: "global",
resourceGroupName: resourceGroup.name,
});
One gets the following error: error: Code="ResourceCreationValidateFailed" Message="The resource validation failed."
The cause of the error is that the domainManagement field should be set to the string AzureManaged or use the enumeration that is available.
It took a bit of effort to figure this out and it would be a much better experience if the error included a reference to what is causing the validation to fail.
Affected area/feature
The text was updated successfully, but these errors were encountered:
MitchellGerdisch
changed the title
Nonspecific error: ResourceCreationValidateFailed and missing docs information
Nonspecific error: ResourceCreationValidateFailedMay 6, 2024
Unfortunately, this validation and these errors are provided by the Azure API – we just pass on any error message as error output. This most likely needs addressing by Azure, then will be automatically surfaced by this provider.
Hello!
Issue details
Using the following code which has a rather subtle error for the
Domain
resource:One gets the following error:
error: Code="ResourceCreationValidateFailed" Message="The resource validation failed."
The cause of the error is that the
domainManagement
field should be set to the stringAzureManaged
or use the enumeration that is available.It took a bit of effort to figure this out and it would be a much better experience if the error included a reference to what is causing the validation to fail.
Affected area/feature
The text was updated successfully, but these errors were encountered: