github.com/argoproj/argo-cd/v3@v3.2.1/resource_customizations/iam.aws.crossplane.io/Policy/testdata/healthy.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: |
    10        {
    11            "Version": "2012-10-17",
    12            "Statement": [
    13              {
    14                "Effect": "Allow",
    15                "Action": ["s3:ListBucket"],
    16                "Resource": ["arn:aws:s3:::examples"]
    17              }
    18            ]
    19        }
    20      name: examples-s3-hello-s3
    21      tags:
    22      - key: crossplane-name
    23        value: example
    24      - key: crossplane-providerconfig
    25        value: provider-aws
    26      - key: crossplane-kind
    27        value: policy.iam.aws.crossplane.io
    28    providerConfigRef:
    29      name: provider-aws
    30  status:
    31    atProvider:
    32      arn: arn:aws:iam::123:policy/examples-s3-hello-s3
    33      attachmentCount: 1
    34      defaultVersionId: v2
    35      isAttachable: true
    36      policyId: 123
    37    conditions:
    38    - lastTransitionTime: "2024-07-11T08:18:16Z"
    39      reason: Available
    40      status: "True"
    41      type: Ready
    42    - lastTransitionTime: "2024-07-11T08:18:07Z"
    43      reason: ReconcileSuccess
    44      status: "True"
    45      type: Synced