https://pulumi.com logo
#python
Title
# python
b

brash-noon-26580

01/15/2021, 9:47 PM
Hello! I am new to Pulumi and Python. I'm attempting to implement unit testing but I'm running into an error while running my test
Copy code
pulumi.config.ConfigMissingError: Missing required configuration variable 'project:BILLING_ACCOUNT'
    please set a value using the command `pulumi config set project:BILLING_ACCOUNT <value>`
Could someone point me in the correct direction on the best way to handle this?
c

chilly-hairdresser-56259

01/15/2021, 10:45 PM
suspect you need to point to your config file
g

gentle-diamond-70147

01/19/2021, 4:24 PM
I believe you're encountering https://github.com/pulumi/pulumi/issues/4472 which has examples of workarounds for the various languages.
b

brash-noon-26580

01/19/2021, 5:22 PM
@gentle-diamond-70147 Yes I believe you're correct. Would you know the best way to approach this in Python?
g

gentle-diamond-70147

01/19/2021, 5:41 PM
Sorry... I skimmed the comments there too quickly earlier. I think passing or setting
PULUMI_CONFIG
with your configuration data is your best option.