You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems this PR #406 introduced a bug.
With an AWS IAM AccessKey, I endup with the following error, because of a wrong jsonPath (spec.forProvider.status.atProvider.secret)
cannot store sensitive parameters into params: cannot expand wildcard for xp resource: cannot expand wildcards for segments: \"spec.forProvider.status.atProvider.secret\": spec.forProvider.status: not an object"
How can we reproduce it?
use the latest provider-aws-iam1.5.0 builded with the latest upjet1.4.0
create an AWS IAM AccessKey resource and look for the reconcile error in the object status
The text was updated successfully, but these errors were encountered:
llavaud
changed the title
Wrong jsonPath to get sensitive parameters
Breaking change with latest 1.4.0 / wrong jsonPath to get sensitive parameters
Jun 5, 2024
llavaud
changed the title
Breaking change with latest 1.4.0 / wrong jsonPath to get sensitive parameters
Wrong jsonPath to get sensitive parameters with latest 1.4.0
Jun 5, 2024
Hi @llavaud,
Thanks for reporting this issue. I've successfully reproduced it. The root cause of the issue is for resources with sensitive attributes and a non-object spec.forProvider.status or spec.initProvider.status field, the fieldpath library's ExpandWildcards errors instead of returning an empty set of expanded parameters. For more context, please refer to the description of #417.
What happened?
It seems this PR #406 introduced a bug.
With an AWS IAM AccessKey, I endup with the following error, because of a wrong jsonPath (
spec.forProvider.status.atProvider.secret
)How can we reproduce it?
provider-aws-iam
1.5.0
builded with the latestupjet
1.4.0
The text was updated successfully, but these errors were encountered: