sparse-intern-71089
05/16/2021, 10:07 PMlittle-cartoon-10569
05/16/2021, 10:10 PMlittle-cartoon-10569
05/16/2021, 10:11 PMmicroscopic-zoo-3564
05/16/2021, 10:13 PMlittle-cartoon-10569
05/16/2021, 10:17 PMmicroscopic-zoo-3564
05/16/2021, 10:23 PMconst coreStackRef = new pulumi.StackReference(
`name/project/${pulumi.getStack()}`
)
const hasuraCredentialsSecretName = coreStackRef.getOutput(
"hasuraCredentialsSecretKeyName"
)
const hasuraCredentialsSecret = pulumi.output(
aws.secretsmanager.getSecret(
{
name: hasuraCredentialsSecretName,
},
{ async: true }
)
)
little-cartoon-10569
05/16/2021, 10:23 PMconst secretInfo: pulumi.Output<GetSecretResult> = stackReferenceToSecretName.apply((secretName) => aws.secretsmanager.getSecret({ name: secretName });
little-cartoon-10569
05/16/2021, 10:24 PMlittle-cartoon-10569
05/16/2021, 10:29 PMmicroscopic-zoo-3564
05/16/2021, 10:37 PM