From 028740cfb9d0ac5af1d94d15f7162009f5ba02ff Mon Sep 17 00:00:00 2001 From: Matt Bush Date: Fri, 29 Dec 2023 16:00:49 -0800 Subject: [PATCH] two more examples --- .../cognitoidp/userpoolclient-observe.yaml | 35 +++++++++++++++++++ .../userpoolclient-with-dashes.yaml | 32 +++++++++++++++++ 2 files changed, 67 insertions(+) create mode 100644 examples/cognitoidp/userpoolclient-observe.yaml create mode 100644 examples/cognitoidp/userpoolclient-with-dashes.yaml diff --git a/examples/cognitoidp/userpoolclient-observe.yaml b/examples/cognitoidp/userpoolclient-observe.yaml new file mode 100644 index 0000000000..74e11659e3 --- /dev/null +++ b/examples/cognitoidp/userpoolclient-observe.yaml @@ -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 + diff --git a/examples/cognitoidp/userpoolclient-with-dashes.yaml b/examples/cognitoidp/userpoolclient-with-dashes.yaml new file mode 100644 index 0000000000..d89596a0ed --- /dev/null +++ b/examples/cognitoidp/userpoolclient-with-dashes.yaml @@ -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 +