In this video I am showing how to use import and output workflow in order to take obtain source code for Terraform resources that are tricky to create "by hand".
As in the previous vide, the focus is on Prisma Cloud Compute provider, however this workflow can be used with other Terraform providers too.
This method works great, and have been proven to work especially well in situations were resources are easy to initially create in UI, but hard using HCL.
As always, let me know if you have any questions, or feedback in comments!
- Terraform import - https://www.terraform.io/docs/cli/import/index.html
- Terraform show - https://www.terraform.io/docs/cli/commands/show.html