agreeable-answer-99206
02/01/2023, 6:15 AMpulumi import <development_environment_resources>
to generate the python code for the resources.
2. Modify the python code to make it sutible for the staging environment.
3. Run pulumi stack --show-urns
to see the URN of the imported development environment resource.
4. Run pulumi state delete --force <development_environment_resource_urn>
to delete the imported resource. Because I don’t need it.
5. Run pulumi up
to deploy the staging environment resource that I created in step 2.
Does there exist any more convenient way for doing this?
I wish I don’t have to do step 3 and 4. Because I just want to see the generated code in step 1.great-sunset-355
02/01/2023, 1:19 PM