diff --git a/apis/basic/composition.yaml b/apis/basic/composition.yaml index dbba86c..36df667 100644 --- a/apis/basic/composition.yaml +++ b/apis/basic/composition.yaml @@ -26,6 +26,11 @@ spec: - type: FromCompositeFieldPath fromFieldPath: spec.parameters.id toFieldPath: metadata.labels[networks.aws.platform.upbound.io/network-id] + - name: network-id-tags + patches: + - type: FromCompositeFieldPath + fromFieldPath: spec.parameters.id + toFieldPath: spec.forProvider.tags[networks.aws.platform.upbound.io/network-id] - name: region patches: - type: FromCompositeFieldPath @@ -93,6 +98,8 @@ spec: patchSetName: deletionPolicy - type: PatchSet patchSetName: network-id + - type: PatchSet + patchSetName: network-id-tags - type: PatchSet patchSetName: region - fromFieldPath: spec.parameters.region @@ -132,6 +139,8 @@ spec: patchSetName: deletionPolicy - type: PatchSet patchSetName: network-id + - type: PatchSet + patchSetName: network-id-tags - type: PatchSet patchSetName: region - fromFieldPath: spec.parameters.region