https://pulumi.com logo
Title
q

quiet-plumber-89023

07/08/2021, 2:20 PM
Hi all, Trying to add some baseline rules to the system db (master)
new 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'