Closed caspar-ds closed 6 months ago
When you see inlinePolicy set on the Role, is the field in spec.forProvider or status.atProvider?
@mbbush remembers me on your comment in https://github.com/crossplane-contrib/provider-upjet-aws/pull/933#issuecomment-1776159401
Yeah, I couldn't remember if we ever made the second fix. Sounds like probably not.
When you see inlinePolicy set on the Role, is the field in spec.forProvider or status.atProvider?
It's in both
Is there an existing issue for this?
Affected Resource(s)
Resource MRs required to reproduce the bug
Steps to Reproduce
inlinePolicy
field is now present on the role:inlinePolicy
What happened?
As no
inlinePolicy
was defined on the Role it should not be managing inline policies:Setting
inlinePolicy: []
orinlinePolicy: ~
has no effect and the field is removed during reconciliation.Relevant Error Output Snippet
No response
Crossplane Version
1.15.0
Provider Version
0.47.2
Kubernetes Version
1.26
Kubernetes Distribution
EKS 1.26
Additional Info
No response