Closed tusharshahrs closed 3 years ago
This is a subresource with a link back to the parent. The resolution of this in a generic way at compile time is a bit involved. I am looking at options to address this.
See https://github.com/pulumi/pulumi-azure-nextgen/issues/132 for generic tracker for this.
Hopefully, fixed a while back in https://github.com/pulumi/arm2pulumi/issues/2
I used this: https://www.pulumi.com/arm2pulumi/ to convert a ARM template for sql server into a python template.
The key_resource block:
is missing the following
server_name
as it is required: https://www.pulumi.com/docs/reference/pkg/azure-nextgen/sql/serverkey/#server_name_pythonHow to reproduce:
When you convert it, the following is there.
Note that the
is missing the
server_name=servers_shahtdbservername2_name_param
or to make it generic:server_name=server_name_param
Here is the error code:
Recommended Fix: add the additional parameter below: server_name=server_name_param,
Should look like this: