bland-pharmacist-96854
09/17/2024, 10:11 AMbland-pharmacist-96854
09/17/2024, 10:12 AMpulumi:pulumi:Stack (azure-sql-us-prod):
error: Running program '/workspaces/pulumi/projects/azure-sql/src/index.ts' failed with an unhandled exception:
<ref *1> TypeError: Cannot set property databaseName of #<AzureNativeSqlDatabase> which has only a getter
at Object.transferProperties (/workspaces/pulumi/node_modules/@pulumi/runtime/rpc.ts:90:23)
at /workspaces/pulumi/node_modules/@pulumi/runtime/resource.ts:821:23
at Generator.next (<anonymous>)
at /workspaces/pulumi/node_modules/@pulumi/pulumi/runtime/resource.js:21:71
at new Promise (<anonymous>)
at __awaiter (/workspaces/pulumi/node_modules/@pulumi/pulumi/runtime/resource.js:17:12)
at prepareResource (/workspaces/pulumi/node_modules/@pulumi/pulumi/runtime/resource.js:489:12)
at Object.registerResource (/workspaces/pulumi/node_modules/@pulumi/runtime/resource.ts:502:24)
at new Resource (/workspaces/pulumi/node_modules/@pulumi/resource.ts:557:13)
at new CustomResource (/workspaces/pulumi/node_modules/@pulumi/resource.ts:1080:9) {
promise: Promise { <rejected> [Circular *1] }
}
Is there a correct way/alternative way to do this?
I want to avoid the typical helper/util function to extract those parametersNo 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