sparse-intern-71089
05/26/2022, 3:17 PMsparse-midnight-5337
05/27/2022, 10:33 AMpulumi up
.
I fixed this issue by using dependsOn: [service]
when defining my dictionaryItems.
const MyComputeService = new ServiceCompute(...)
new fastly.ServiceDictionaryItems('MyDictionary', {
serviceId: service.id,
dictionaryId: MyComputeService.dictionaries.apply(d => d?.[0].dictionaryId || '1234'),
items: {
'item1': config.require('item1').toString(),
'item2': config.require('item2').toString()
}
}, {dependsOn: [MyComputeService]})
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