Currently make local_generate started failing catastrophically on encountering this. To workaround the problem, I will temporarily introduce a patch to ignore these failures, but we possibly need to revisit later on for completeness.
AFAIK replaceOnChanges property in the schema is of a documentation value at the moment and does not affect the actual behavior of the provider, but this may change.
Output of pulumi about
N/A
Additional context
N/A
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).
What happened?
It looks like there is some existing code around markCreateOnlyProperty that is incomplete with respect to nested properties.
https://github.com/pulumi/pulumi-aws-native/blob/master/provider/pkg/schema/gen.go#L667
Example
Consider AWS::LookoutMetrics::AnomalyDetector example.
AWS CF schema specifies:
However this is not a top-level property. It's an object under definitions:
Used as a nested declaration of another property:
Currently
make local_generate
started failing catastrophically on encountering this. To workaround the problem, I will temporarily introduce a patch to ignore these failures, but we possibly need to revisit later on for completeness.AFAIK replaceOnChanges property in the schema is of a documentation value at the moment and does not affect the actual behavior of the provider, but this may change.
Output of
pulumi about
N/A
Additional context
N/A
Contributing
Vote on this issue by adding a 👍 reaction. To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).