Marketplace
BrowsePublish
Marketplace
upbound/configuration-aws-elasticache@v0.1.0
xnetworks.elasticache.aws.platform.upbound.io

xnetworks.elasticache.aws.platform.upbound.io

xnetworks.elasticache.aws.platform.upbound.io
upbound/configuration-aws-elasticache@v0.1.0xnetworks.elasticache.aws.platform.upbound.io
Type

Composition

Referenced XRD

XNetwork

Source Codegithub.com/upbound/configuration-aws-elasticache
YAML
kind: Composition
apiVersion: apiextensions.crossplane.io/v1
metadata:
  name: xnetworks.elasticache.aws.platform.upbound.io
  creationTimestamp: null
  labels:
    provider: aws
spec:
  compositeTypeRef:
    apiVersion: elasticache.aws.platform.upbound.io/v1alpha1
    kind: XNetwork
  mode: Pipeline
  pipeline:
    - step: patch-and-transform
      functionRef:
        name: crossplane-contrib-function-patch-and-transform
      input:
        apiVersion: pt.fn.crossplane.io/v1beta1
        kind: Resources
        resources:
          - base:
              apiVersion: aws.platform.upbound.io/v1alpha1
              kind: XNetwork
            name: elasticache-network-foundation
            patches:
              - fromFieldPath: spec.parameters.providerConfigName
                toFieldPath: spec.parameters.providerConfigName
                type: FromCompositeFieldPath
              - fromFieldPath: spec.parameters.deletionPolicy
                toFieldPath: spec.parameters.deletionPolicy
                type: FromCompositeFieldPath
              - fromFieldPath: spec.parameters.id
                toFieldPath: spec.parameters.id
                type: FromCompositeFieldPath
              - fromFieldPath: spec.parameters.region
                toFieldPath: spec.parameters.region
                type: FromCompositeFieldPath
              - fromFieldPath: status.vpcId
                toFieldPath: status.elasticacheNetwork.vpcId
                type: ToCompositeFieldPath
              - fromFieldPath: status.publicSubnetIds
                toFieldPath: status.elasticacheNetwork.publicSubnetIds
                type: ToCompositeFieldPath
              - fromFieldPath: status.privateSubnetIds
                toFieldPath: status.elasticacheNetwork.privateSubnetIds
                type: ToCompositeFieldPath
              - fromFieldPath: status.securityGroupIds
                toFieldPath: status.elasticacheNetwork.securityGroupIds
                type: ToCompositeFieldPath
          - base:
              apiVersion: elasticache.aws.upbound.io/v1beta1
              kind: SubnetGroup
            name: subnet-group
            patches:
              - fromFieldPath: spec.parameters.providerConfigName
                toFieldPath: spec.providerConfigRef.name
                type: FromCompositeFieldPath
              - fromFieldPath: spec.parameters.deletionPolicy
                toFieldPath: spec.deletionPolicy
                type: FromCompositeFieldPath
              - fromFieldPath: spec.parameters.region
                toFieldPath: spec.forProvider.region
                type: FromCompositeFieldPath
              - fromFieldPath: status.elasticacheNetwork.privateSubnetIds
                policy:
                  fromFieldPath: Required
                toFieldPath: spec.forProvider.subnetIds
                type: FromCompositeFieldPath
              - fromFieldPath: status.atProvider.arn
                toFieldPath: status.elasticacheSubnetGroup.arn
                type: ToCompositeFieldPath
              - fromFieldPath: status.atProvider.description
                toFieldPath: status.elasticacheSubnetGroup.description
                type: ToCompositeFieldPath
              - fromFieldPath: status.atProvider.id
                toFieldPath: status.elasticacheSubnetGroup.id
                type: ToCompositeFieldPath
              - fromFieldPath: status.atProvider.subnetIds
                toFieldPath: status.elasticacheSubnetGroup.subnetIds
                type: ToCompositeFieldPath
              - fromFieldPath: status.atProvider.tags
                toFieldPath: status.elasticacheSubnetGroup.tags
                type: ToCompositeFieldPath
              - fromFieldPath: statys.atProvider.tagsAll
                toFieldPath: status.elasticacheSubnetGroup.tagsAll
                type: ToCompositeFieldPath
Marketplace

Discover the building blocks for your internal cloud platform.

© 2022 Upbound, Inc.

SolutionsProvidersConfigurations
LearnDocumentationTry for Free
MorePrivacy PolicyTerms & Conditions
Marketplace

© 2022 Upbound, Inc.

Marketplace

Discover the building blocksfor your internal cloud platform.