Open zargor opened 2 months ago
Hello @zargor Thank you for your feedback. I have fixed it in function-kcl v0.5.4 with the PR: https://github.com/crossplane-contrib/function-kcl/pull/79
Awesome! It works.
Hi @zargor, thank you for the issue, I think it works as expected on the provider side, do you still think this is a valid issue?
Is there an existing issue for this?
Affected Resource(s)
dynamodb.aws.upbound.io/v1beta1 - Table
https://marketplace.upbound.io/providers/upbound/provider-aws-dynamodb/v1.3.1/resources/dynamodb.aws.upbound.io/Table/v1beta1
Resource MRs required to reproduce the bug
Steps to Reproduce
Apply the MR manifest. The result would be:
However, when
'N'
is provided insteadN
it is working.Now, in case DynamoDB Table is part of a composition (based on KCL function, not P&T), then no matter how value "N" (number) is provided, quoted or not, the process ends up with error.
What happened?
From a composition, expected is to have DynamoDB Table provisioned. It turns out that if one has an attribute of type
number
(N), the resource will never get provisioned due to an error.Relevant Error Output Snippet