Skip to content

Commit a7c2fe8

Browse files
committed
Fix broken example
This was not actually doing any patching - it was skipping the optional field path patch and relying on the bucket already having a region set in its base. Signed-off-by: Nic Cope <nicc@rk0n.org>
1 parent c8bd5a1 commit a7c2fe8

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

example/composition.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,9 @@ spec:
1919
base:
2020
apiVersion: s3.aws.upbound.io/v1beta1
2121
kind: Bucket
22-
spec:
23-
forProvider:
24-
region: us-east-2
2522
patches:
2623
- type: FromCompositeFieldPath
27-
fromFieldPath: "location"
24+
fromFieldPath: "spec.location"
2825
toFieldPath: "spec.forProvider.region"
2926
transforms:
3027
- type: map

0 commit comments

Comments
 (0)