https://pulumi.com logo
#general
Title
# general
i

important-leather-28796

02/19/2019, 9:15 PM
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

gentle-diamond-70147

02/19/2019, 9:18 PM
You have to
pulumi up
first to create the output.
Then
pulumi stack output
and
pulumi stack output dbUser
should work.
👍 1
2 Views