Closed sagilaufer1992 closed 9 months ago
First step - make the TFC data organized in a JSON file so we can use it for creating TF configurations
example of generated data:
{ "workspaces": [ { "env_vars": [], "labels": [], "name": "static-website", "project_name": "Default Project", "terraform_version": "1.2.2", "vcs": { "account": "", "branch": "", "project_root": "src", "repository": "" } }, { "env_vars": [], "labels": [], "name": "templates", "project_name": "prj-mGMp6cfyycqzCm3B", "terraform_version": "1.6.5", "vcs": { "account": "sagilaufer1992", "branch": "", "project_root": "", "repository": "templates" } } ] }
also would be cool to see an example of this running, so maybe you can just include an output data.json in the PR
Get TFC data
First step - make the TFC data organized in a JSON file so we can use it for creating TF configurations
example of generated data: