Join Slack
Powered by
Is there anyone please who know how to set environ...
# python
i
incalculable-action-69391
06/30/2021, 3:42 AM
Is there anyone please who know how to set environment vars in pulumi with python, this information is NOT covered even one time in the documentation. Is it a dictionary {key:value} .
g
great-sunset-355
06/30/2021, 4:54 AM
AWS package is directly derived from Terraform so I'd suggest looking at TF docs if something does not work
https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/lambda_function#environment
I bet you need this
Copy code
environment={ "variables": {"key":"value"} }
Open in Slack
Previous
Next