awslabs / crossplane-on-eks

Crossplane bespoke composition blueprints for AWS resources
Apache License 2.0
308 stars 109 forks source link

ensure dynamodb connection secrets are populated #82

Closed nabuskey closed 1 year ago

nabuskey commented 1 year ago

What does this PR do?

imports dynamodb connection details directly from managed resource's status field instead of relying on undocumented secrets exported by the MR. This also updates dynamodb compositions to use publishConnectionDetailsTo instead of writeConnectionSecretToRef. The latter is deprecated.

Motivation

It's not immediately clear where connection details such as dynamod db table name and ARN are coming from in the previous example. This makes it clear where it is getting its information from.