Skip to content

Commit

Permalink
two more examples
Browse files Browse the repository at this point in the history
  • Loading branch information
mbbush committed Dec 30, 2023
1 parent 50a4d51 commit 028740c
Show file tree
Hide file tree
Showing 2 changed files with 67 additions and 0 deletions.
35 changes: 35 additions & 0 deletions examples/cognitoidp/userpoolclient-observe.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
---
apiVersion: cognitoidp.aws.upbound.io/v1beta1
kind: UserPool
metadata:
annotations:
uptest.upbound.io/timeout: "900"
labels:
testing.upbound.io/example-name: observe
name: observe
spec:
forProvider:
name: example
region: us-west-1

---

apiVersion: cognitoidp.aws.upbound.io/v1beta1
kind: UserPoolClient
metadata:
annotations:
uptest.upbound.io/timeout: "900"
crossplane.io/external-name: anything
labels:
testing.upbound.io/example-name: observe
name: observe
spec:
managementPolicies:
- Observe
forProvider:
name: name
region: us-west-1
userPoolIdSelector:
matchLabels:
testing.upbound.io/example-name: observe

32 changes: 32 additions & 0 deletions examples/cognitoidp/userpoolclient-with-dashes.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
apiVersion: cognitoidp.aws.upbound.io/v1beta1
kind: UserPool
metadata:
annotations:
uptest.upbound.io/timeout: "900"
labels:
testing.upbound.io/example-name: example-with-dashes
name: example-with-dashes
spec:
forProvider:
name: example
region: us-west-1

---

apiVersion: cognitoidp.aws.upbound.io/v1beta1
kind: UserPoolClient
metadata:
annotations:
uptest.upbound.io/timeout: "900"
labels:
testing.upbound.io/example-name: example-with-dashes
name: example-with-dashes
spec:
forProvider:
name: name-that-doesnt-match-id-regex
region: us-west-1
userPoolIdSelector:
matchLabels:
testing.upbound.io/example-name: example-with-dashes

0 comments on commit 028740c

Please sign in to comment.