Skip to content

Commit

Permalink
Fix spec.forProvider.bucketRef: Invalid value: "string": spec.forProv…
Browse files Browse the repository at this point in the history
…ider.bucketRef in body must be of type object: "string"
  • Loading branch information
jonashackt committed Mar 4, 2024
1 parent b1c1fad commit e66d0bd
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions upbound/provider-aws/resources/bucket.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ spec:
blockPublicPolicy: false
ignorePublicAcls: false
restrictPublicBuckets: false
bucketRef: crossplane-argocd-s3-bucket
bucketRef:
name: crossplane-argocd-s3-bucket
region: eu-central-1
---
apiVersion: s3.aws.upbound.io/v1beta1
Expand All @@ -29,7 +30,8 @@ spec:
forProvider:
rule:
- objectOwnership: ObjectWriter
bucketRef: crossplane-argocd-s3-bucket
bucketRef:
name: crossplane-argocd-s3-bucket
region: eu-central-1
---
apiVersion: s3.aws.upbound.io/v1beta1
Expand All @@ -39,7 +41,8 @@ metadata:
spec:
forProvider:
acl: "public-read"
bucketRef: crossplane-argocd-s3-bucket
bucketRef:
name: crossplane-argocd-s3-bucket
region: eu-central-1
---
apiVersion: s3.aws.upbound.io/v1beta1
Expand All @@ -50,5 +53,6 @@ spec:
forProvider:
indexDocument:
- suffix: index.html
bucketRef: crossplane-argocd-s3-bucket
bucketRef:
name: crossplane-argocd-s3-bucket
region: eu-central-1

0 comments on commit e66d0bd

Please sign in to comment.