github.com/argoproj/argo-cd/v3@v3.2.1/resource_customizations/iam.aws.crossplane.io/RolePolicyAttachment/testdata/ReconcileError.yaml (about)

     1  apiVersion: iam.aws.crossplane.io/v1beta1
     2  kind: RolePolicyAttachment
     3  metadata:
     4    name: example
     5  spec:
     6    deletionPolicy: Delete
     7    forProvider:
     8      policyArn: arn:aws:iam::123:policy/example
     9      roleName: example
    10    providerConfigRef:
    11      name: provider-aws
    12  status:
    13    atProvider:
    14      attachedPolicyArn: ""
    15    conditions:
    16    - lastTransitionTime: "2024-07-11T13:44:28Z"
    17      reason: Creating
    18      status: "False"
    19      type: Ready
    20    - lastTransitionTime: "2024-07-11T13:44:28Z"
    21      message: 'create failed: failed to attach the policy to role: NoSuchEntity: The
    22        role with name example cannot be found.'
    23      reason: ReconcileError
    24      status: "False"
    25      type: Synced