This message was deleted.
s
This message was deleted.
e
That is very likely a codegen bug... Which resource are you trying set the property on because it should probably be typed as
Input[str | None]
a
It’s
azure-native > network.ARecordArgs
here: https://github.com/pulumi/pulumi-azure-native/blob/master/sdk/python/pulumi_azure_native/network/_inputs.py#L298. The type hint is
ipv4_address: Optional[pulumi.Input[str]]
which gets interpreted as
Input[str] | None
.
e
Yup thanks that's a bug in the code generator, I thought we already had a bug report for that but I can't find it now. I'll double check again and get an issue raised for this, should be a very quick fix.
🙌 1