nice-guitar-97142
03/08/2021, 1:37 PMcontentType
property? does a StringAsset
have to be an octet stream?tall-librarian-49374
03/08/2021, 1:42 PMcontentType
. Do you get this error during preview, update, or refresh?nice-guitar-97142
03/08/2021, 1:46 PMpreview
and update
, before the changes are even generated. I removed the contentType
so that it would default to octet-stream which allowed the preview to generate but then ran into the same error on an actual updateerror: Running program '/Users/blah/source/blah/unicode/infra' failed with an unhandled exception:
Error: Invalid asset encountered when unmarshaling resource property
at deserializeProperty (/Users/blah/source/blah/unicode/infra/node_modules/@pulumi/azure-native/node_modules/@pulumi/pulumi/runtime/rpc.js:437:31)
at deserializeProperty (/Users/blah/source/blah/unicode/infra/node_modules/@pulumi/azure-native/node_modules/@pulumi/pulumi/runtime/rpc.js:506:23)
at deserializeProperty (/Users/blah/source/blah/unicode/infra/node_modules/@pulumi/azure-native/node_modules/@pulumi/pulumi/runtime/rpc.js:463:32)
at Object.deserializeProperties (/Users/blah/source/blah/unicode/infra/node_modules/@pulumi/azure-native/node_modules/@pulumi/pulumi/runtime/rpc.js:126:24)
at /Users/blah/source/blah/unicode/infra/node_modules/@pulumi/azure-native/node_modules/@pulumi/pulumi/runtime/resource.js:524:43
at Generator.next (<anonymous>)
at /Users/blah/source/blah/unicode/infra/node_modules/@pulumi/azure-native/node_modules/@pulumi/pulumi/runtime/resource.js:21:71
at new Promise (<anonymous>)
at __awaiter (/Users/blah/source/blah/unicode/infra/node_modules/@pulumi/azure-native/node_modules/@pulumi/pulumi/runtime/resource.js:17:12)
at resolveOutputs (/Users/blah/source/blah/unicode/infra/node_modules/@pulumi/azure-native/node_modules/@pulumi/pulumi/runtime/resource.js:519:12)
error: update failed
tall-librarian-49374
03/08/2021, 1:52 PMnice-guitar-97142
03/08/2021, 2:11 PMFileAsset
worked. I will open an issue.