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.
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 ofwriteConnectionSecretToRef
. 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.