crossplane-contrib/x-generation@v0.10.0
compositeinstanceprofile.iam.aws.example.cloud

compositeinstanceprofile.iam.aws.example.cloud

compositeinstanceprofile.iam.aws.example.cloud
crossplane-contrib/x-generation@v0.10.0compositeinstanceprofile.iam.aws.example.cloud
Type

Composition

Referenced XRD

CompositeInstanceProfile

Source Codegithub.com/crossplane-contrib/x-generation
Resources (1)

The following resources are composed to implement the referenced Composite Resource Definition (XRD).

Kind
Group
Version

No resources found.

YAML
kind: Composition
apiVersion: apiextensions.crossplane.io/v1
metadata:
  name: compositeinstanceprofile.iam.aws.example.cloud
  creationTimestamp: null
  labels:
    example.cloud/provider: example
spec:
  compositeTypeRef:
    apiVersion: iam.aws.example.cloud/v1alpha1
    kind: CompositeInstanceProfile
  patchSets:
    - name: Name
      patches:
        - type: FromCompositeFieldPath
          fromFieldPath: metadata.labels[crossplane.io/claim-name]
          toFieldPath: metadata.annotations[crossplane.io/external-name]
    - name: Common
      patches:
        - type: FromCompositeFieldPath
          fromFieldPath: metadata.labels['crossplane.io/claim-name']
          toFieldPath: metadata.labels['crossplane.io/claim-name']
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: metadata.labels['crossplane.io/claim-namespace']
          toFieldPath: metadata.labels['crossplane.io/claim-namespace']
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: metadata.labels['crossplane.io/composite']
          toFieldPath: metadata.labels['crossplane.io/composite']
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: metadata.labels['external-name']
          toFieldPath: metadata.labels['external-name']
          policy:
            fromFieldPath: Optional
    - name: Parameters
      patches:
        - type: FromCompositeFieldPath
          fromFieldPath: spec.deletionPolicy
          toFieldPath: spec.deletionPolicy
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.forProvider.path
          toFieldPath: spec.forProvider.path
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.forProvider.role
          toFieldPath: spec.forProvider.role
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.forProvider.roleRef.name
          toFieldPath: spec.forProvider.roleRef.name
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.forProvider.roleRef.policy.resolution
          toFieldPath: spec.forProvider.roleRef.policy.resolution
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.forProvider.roleRef.policy.resolve
          toFieldPath: spec.forProvider.roleRef.policy.resolve
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.forProvider.roleSelector.matchControllerRef
          toFieldPath: spec.forProvider.roleSelector.matchControllerRef
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.forProvider.roleSelector.matchLabels
          toFieldPath: spec.forProvider.roleSelector.matchLabels
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.forProvider.roleSelector.policy.resolution
          toFieldPath: spec.forProvider.roleSelector.policy.resolution
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.forProvider.roleSelector.policy.resolve
          toFieldPath: spec.forProvider.roleSelector.policy.resolve
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.providerConfigRef.name
          toFieldPath: spec.providerConfigRef.name
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.providerConfigRef.policy.resolution
          toFieldPath: spec.providerConfigRef.policy.resolution
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.providerConfigRef.policy.resolve
          toFieldPath: spec.providerConfigRef.policy.resolve
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.publishConnectionDetailsTo.configRef.name
          toFieldPath: spec.publishConnectionDetailsTo.configRef.name
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.publishConnectionDetailsTo.configRef.policy.resolution
          toFieldPath: spec.publishConnectionDetailsTo.configRef.policy.resolution
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.publishConnectionDetailsTo.configRef.policy.resolve
          toFieldPath: spec.publishConnectionDetailsTo.configRef.policy.resolve
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.publishConnectionDetailsTo.metadata.annotations
          toFieldPath: spec.publishConnectionDetailsTo.metadata.annotations
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.publishConnectionDetailsTo.metadata.labels
          toFieldPath: spec.publishConnectionDetailsTo.metadata.labels
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.publishConnectionDetailsTo.metadata.type
          toFieldPath: spec.publishConnectionDetailsTo.metadata.type
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: spec.publishConnectionDetailsTo.name
          toFieldPath: spec.publishConnectionDetailsTo.name
          policy:
            fromFieldPath: Optional
    - name: Labels
      patches:
        - type: FromCompositeFieldPath
          fromFieldPath: metadata.labels['controlling.example.cloud/cost-reference']
          toFieldPath: metadata.labels['controlling.example.cloud/cost-reference']
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: metadata.labels['controlling.example.cloud/owner']
          toFieldPath: metadata.labels['controlling.example.cloud/owner']
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: metadata.labels['controlling.example.cloud/product']
          toFieldPath: metadata.labels['controlling.example.cloud/product']
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: metadata.labels['tags.example.cloud/account']
          toFieldPath: metadata.labels['tags.example.cloud/account']
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: metadata.labels['tags.example.cloud/environment']
          toFieldPath: metadata.labels['tags.example.cloud/environment']
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: metadata.labels['tags.example.cloud/protection-requirement']
          toFieldPath: metadata.labels['tags.example.cloud/protection-requirement']
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: metadata.labels['tags.example.cloud/repourl']
          toFieldPath: metadata.labels['tags.example.cloud/repourl']
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: metadata.labels['tags.example.cloud/zone']
          toFieldPath: metadata.labels['tags.example.cloud/zone']
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: metadata.labels['locala.io/test']
          toFieldPath: metadata.labels['locala.io/test']
          policy:
            fromFieldPath: Optional
        - type: FromCompositeFieldPath
          fromFieldPath: metadata.labels['localb.io/testb']
          toFieldPath: metadata.labels['localb.io/testb']
          policy:
            fromFieldPath: Optional
    - name: Tags
      patches:
        - type: FromCompositeFieldPath
          fromFieldPath: metadata.labels[locala.io/test]
          toFieldPath: spec.forProvider.tags[0].value
          policy:
            fromFieldPath: Required
        - type: FromCompositeFieldPath
          fromFieldPath: metadata.labels[localb.io/testb]
          toFieldPath: spec.forProvider.tags[1].value
          policy:
            fromFieldPath: Required
  resources:
    - name: InstanceProfile
      base:
        apiVersion: iam.aws.crossplane.io/v1alpha1
        kind: InstanceProfile
        metadata:
          labels:
            commonLocalLabelA: commonLocalLabelAValue
            commonLocalLabelB: commonLoaclLabelBValue
        spec:
          forProvider:
            tags:
              - key: locala.io/test
              - key: localb.io/testb
              - key: commonLocalTagA
                value: comonLocalTagAValue
              - key: commonLocalTagB
                value: comonLocalTagBValue
              - key: commonTagA
                value: comonTagAValue
              - key: commonTagB
                value: comonTagBValue
          providerConfigRef:
            name: default
      patches:
        - type: PatchSet
          patchSetName: Name
        - type: PatchSet
          patchSetName: Common
        - type: PatchSet
          patchSetName: Parameters
        - type: PatchSet
          patchSetName: Labels
        - type: PatchSet
          patchSetName: Tags
        - type: ToCompositeFieldPath
          fromFieldPath: status.atProvider.arn
          toFieldPath: status.atProvider.arn
          policy:
            fromFieldPath: Optional
        - type: ToCompositeFieldPath
          fromFieldPath: status.atProvider.createDate
          toFieldPath: status.atProvider.createDate
          policy:
            fromFieldPath: Optional
        - type: ToCompositeFieldPath
          fromFieldPath: status.atProvider.instanceProfileID
          toFieldPath: status.atProvider.instanceProfileID
          policy:
            fromFieldPath: Optional
        - type: ToCompositeFieldPath
          fromFieldPath: status.atProvider.instanceProfileName
          toFieldPath: status.atProvider.instanceProfileName
          policy:
            fromFieldPath: Optional
        - type: ToCompositeFieldPath
          fromFieldPath: status.atProvider.roles
          toFieldPath: status.atProvider.roles
          policy:
            fromFieldPath: Optional
        - type: ToCompositeFieldPath
          fromFieldPath: metadata.annotations["crossplane.io/external-name"]
          toFieldPath: status.uid
          policy:
            fromFieldPath: Optional
        - type: ToCompositeFieldPath
          fromFieldPath: status.conditions
          toFieldPath: status.observed.conditions
          policy:
            fromFieldPath: Optional
Discover the building blocks for your internal cloud platform.
© 2024 Upbound, Inc.
Solutions