sparse-car-32271
02/11/2020, 7:55 AMterraform/variants/webapi-dev/webapi-dev.tf
to pulumi/index.ts
.
├── pulumi
│ ├── Pulumi.yaml
│ ├── index.ts
└── terraform
├── README.md
├── modules
│ ├── shared
│ │ └── <http://main.tf|main.tf>
│ └── webapi
│ └── <http://main.tf|main.tf>
└── variants
├── shared
│ └── <http://shared.tf|shared.tf>
├── webapi-dev
│ └── <http://webapi-dev.tf|webapi-dev.tf>
└── webapi-prod
└── <http://webapi-prod.tf|webapi-prod.tf>
gentle-diamond-70147
02/11/2020, 2:11 PMtf2pulumi
from the terraform/variants/webapi-dev
directory in that case. tf2pulumi
outputs the converted code to stdout so you can pipe it to a file with tf2pulumi > ../../pulumi/index.ts
sparse-car-32271
02/11/2020, 2:52 PM