Closed ulucinar closed 2 years ago
Fixes #6
Fixes Terraform ID configuration of the database.User resource.
database.User
I have:
make reviewable test
Successfully tested using the following manifest:
apiVersion: database.mongodbatlas.jet.crossplane.io/v1alpha1 kind: User metadata: name: example annotations: crossplane.io/external-name: example-user spec: forProvider: authDatabaseName: admin passwordSecretRef: name: user-password key: password namespace: crossplane-system projectId: <project ID> roles: - databaseName: admin roleName: readAnyDatabase scopes: - name: example-cluster type: CLUSTER providerConfigRef: name: default
Thank you @ulucinar , this solves the issue with creating a user and also allows me to pull an existing cluster under Crossplane :partying_face:
Also, the simplified external name is a big time saver.
Description of your changes
Fixes #6
Fixes Terraform ID configuration of the
database.User
resource.I have:
make reviewable test
to ensure this PR is ready for review.How has this code been tested
Successfully tested using the following manifest: