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

     1  apiVersion: iam.aws.crossplane.io/v1beta1
     2  kind: Policy
     3  metadata:
     4    name: example
     5  spec:
     6    deletionPolicy: Delete
     7    forProvider:
     8      description: example
     9      document: "{\n  \"Version\": \"2012-10-17\",\n  \"Statement\": [\n    {\n      \"Effect\":
    10        \"Allow\",\n      \"Action\": [\n        \"s3:*\",\n      ], \n      \"Resource\":
    11        [\n          \"arn:aws:s3:::example\"\n      ]\n    }\n  ]\n}\n"
    12      name: example
    13      tags:
    14      - key: crossplane-name
    15        value: example
    16      - key: crossplane-providerconfig
    17        value: provider-aws
    18      - key: crossplane-kind
    19        value: policy.iam.aws.crossplane.io
    20    providerConfigRef:
    21      name: provider-aws
    22  status:
    23    atProvider:
    24      arn: arn:aws:iam::123:policy/example
    25      attachmentCount: 1
    26      defaultVersionId: v1
    27      isAttachable: true
    28      policyId: ABC
    29    conditions:
    30    - lastTransitionTime: "2024-07-11T11:01:01Z"
    31      reason: Available
    32      status: "True"
    33      type: Ready
    34    - lastTransitionTime: "2024-07-11T11:01:01Z"
    35      message: 'observe failed: cannot check if policy is up to date: invalid character
    36        '']'' looking for beginning of value'
    37      reason: ReconcileError
    38      status: "False"
    39      type: Synced