quiet-plumber-89023
07/08/2021, 2:20 PMnew Pulumi.AzureNative.Sql.DatabaseVulnerabilityAssessmentRuleBaseline(baselineName, new Pulumi.AzureNative.Sql.DatabaseVulnerabilityAssessmentRuleBaselineArgs
{
BaselineName = baselineName,
DatabaseName = "master",
ResourceGroupName = resourceGroup.Name,
ServerName = sqlServer.Name,
RuleId = ruleID,
VulnerabilityAssessmentName = assessmentName,
BaselineResults = firewallBaselineArgs
}, new CustomResourceOptions { DependsOn = { sqlServer } });
But Im getting an error on deployment - whats the best way to await for this - adding a delay is a bit crude but works
Status=404 Code="ParentResourceNotFound" Message="Can not perform requested operation on nested resource. Parent resource 'sqlInstance/master' not found
Additionally subsequent deployments or teardowns I get the following:
"Vulnerability Assessment settings don't exist or invalid storage specified in settings 'storageContainerPath'
No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.
Powered by