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

handsome-rocket-92204

05/22/2019, 2:44 PM
Copy code
Use get functions to read the existing resource and bring its parameters into the stack, like this:

 export const database = gcp.sql.DatabaseInstance.get('test-database', 'name-in-gcp');
Is there a way to do the same in Python? Trying to come up with a feasible solution for migrating Terraform-controlled resources into a Pulumi stack