a

    adamant-waiter-67103

    1 month ago
    I'm trying to create a keyvault secret
    let vaultPostgresPassword =
            Pulumi.AzureNative.KeyVault.Secret(namer "postgresPwd",
                Pulumi.AzureNative.KeyVault.SecretArgs(
                    Properties = Pulumi.AzureNative.KeyVault.Inputs.SecretPropertiesArgs(
                        Value = io postgresPwd.Result,
                        Attributes = input (Pulumi.AzureNative.KeyVault.Inputs.SecretAttributesArgs(Enabled = input true)),
                        ContentType = input "text/plain"
                    ),
                    ResourceGroupName = io resourceGroup.Name,
                    SecretName = input "postgresPassword",
                    VaultName = io keyVault.Name
                ))
    I'm getting this message
    error: autorest/azure: Service returned an error. Status=400 Code="ParameterNotSpecified" Message="The parameter value is not specified."
    I'm not sure why, I'm running
    pulumi up --yes --refresh -d --skip-preview -v 3
    and aren't getting any more information
    b

    billowy-army-68599

    1 month ago
    hmm, that’s not a helpful error message. Sorry about that.
    a

    adamant-waiter-67103

    1 month ago
    is there any way i can debug this further?
    I've got this down to a difference between F# and C#
    it was because of missing
    input
    surrounding
    SecretPropertiesArgs
    .... that was annoying as heck
    d

    dry-judge-83479

    1 month ago
    Hi @adamant-waiter-67103 Could you please where exactly you find the solution to this, a sI’m facing the same issue.
    a

    adamant-waiter-67103

    1 month ago
    You’ve got to look over all your code, and for every property that requires
    Input<T>
    make sure you wrap the assignment input
    d

    dry-judge-83479

    1 month ago
    error: constructing secrets manager of type "cloud": secrets (code=InvalidArgument): keyvault.BaseClient#Decrypt: Failure responding to request: StatusCode=400 -- Original Error: autorest/azure: Service returned an error. Status=400 Code="BadParameter" Message="The parameter is incorrect.\r\n
    My issue is related to keyvault key but not secrets. Did you face the same error/.
    @adamant-waiter-67103 Thanks for your time and reply.