argo-cd/resource_customizations/iam.aws.crossplane.io/RolePolicyAttachment/testdata/ReconcileError.yaml
Jellyfrog 7f338e910f
feat(health): support for aws.crossplane.io resources (#19029)
* feat(health): support for iam.aws.crossplane.io resources

Signed-off-by: Jellyfrog <Jellyfrog@users.noreply.github.com>

* feat(health): support for bucket s3.aws.crossplane.io resource

Signed-off-by: Jellyfrog <Jellyfrog@users.noreply.github.com>

---------

Signed-off-by: Jellyfrog <Jellyfrog@users.noreply.github.com>
2024-07-12 10:46:06 -04:00

25 lines
662 B
YAML

apiVersion: iam.aws.crossplane.io/v1beta1
kind: RolePolicyAttachment
metadata:
name: example
spec:
deletionPolicy: Delete
forProvider:
policyArn: arn:aws:iam::123:policy/example
roleName: example
providerConfigRef:
name: provider-aws
status:
atProvider:
attachedPolicyArn: ""
conditions:
- lastTransitionTime: "2024-07-11T13:44:28Z"
reason: Creating
status: "False"
type: Ready
- lastTransitionTime: "2024-07-11T13:44:28Z"
message: 'create failed: failed to attach the policy to role: NoSuchEntity: The
role with name example cannot be found.'
reason: ReconcileError
status: "False"
type: Synced