https://pulumi.com logo
#general
Title
# general
r

rapid-motherboard-85863

07/14/2023, 12:10 PM
Does anyone know how to set config for dictionary values and then refer to it using
config.RequireObject
in dotnet? I've defined it the config section as json as follows:
"testing:apim-service-01": {
"PublisherName": "Openwork Services Ltd.",
"PublisherEmail": "<mailto:test@test.com|test@test.com>",
"VirtualNetworkType": "Internal",
"Sku": "Developer",
"OutboundVnetAssociation": "azweu-vnet-dev-shared-01",
"OutboundSubnetAssociation": "azweu-sn-dev-shared-backend-01",
"Tags": [ "Project:Shared-Infra" ]
},
But it complains saying unable to parse config works without the
Tags
Ignore managed to get it working with KeyValuePair<string, string>[]