If I want to debug the config and try the followin...
# general
i
If I want to debug the config and try the following in
index.ts
, should this work:
Copy code
import { Config } from '@pulumi/pulumi'

const config = new Config()
export const dbUser = config.require('dbUser')
with
pulumi stack output dbUser
? Currently I get
error: current stack does not have output property 'dbUser'
g
You have to
pulumi up
first to create the output.
Then
pulumi stack output
and
pulumi stack output dbUser
should work.
👍 1