TriPSs / nx-extend

Nx Workspaces builders and tools
MIT License
164 stars 44 forks source link

feature(terraform): Parse and auto detect TF module dependencies #298

Closed pulasthibandara closed 2 months ago

pulasthibandara commented 2 months ago

It could be tedious to manually manage all terraform module calls as dependencies for larger projects. This parses the HCL source to identify and add direct static dependencies to the NX dependency graph.

pulasthibandara commented 2 months ago

I published this personally to test the package and had a reference to that in yarn.lock. Re-ran yarn install to update to the default one.

nx-cloud[bot] commented 2 months ago

☁️ Nx Cloud Report

CI is running/has finished running commands for commit b1631eb82b23704c0fc387e8726717e2398050dc. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this CI Pipeline Execution


✅ Successfully ran 6 targets - [`nx run-many --target=e2e --projects=translations-e2e,react-email-e2e,shadcn-ui-e2e,strapi-e2e --output-style=stream`](https://cloud.nx.app/runs/goehDzYgQe?utm_source=pull-request&utm_medium=comment) - [`nx run-many --target=e2e --projects=gcp-deployment-manager-e2e,gcp-functions-e2e,gcp-secrets-e2e,docusaurus-e2e --output-style=stream`](https://cloud.nx.app/runs/8O9ZbgG6Kp?utm_source=pull-request&utm_medium=comment) - [`nx run-many --target=build --projects=gcp-task-runner,github-pages,translations,react-email,playwright,shadcn-ui,terraform,pulumi,strapi,vercel --output-style=stream --prod`](https://cloud.nx.app/runs/frAN2titMc?utm_source=pull-request&utm_medium=comment) - [`nx run-many --target=build --projects=gcp-deployment-manager,changelog-notify,firebase-hosting,gcp-cloud-run,gcp-functions,gcp-secrets,gcp-storage,docusaurus,e2e-runner,core --output-style=stream --prod`](https://cloud.nx.app/runs/7N12FZgSS8?utm_source=pull-request&utm_medium=comment) - [`nx run-many --target=version --projects=gcp-deployment-manager,changelog-notify,firebase-hosting,gcp-task-runner,gcp-cloud-run,gcp-functions,github-pages,translations,gcp-secrets,gcp-storage,react-email,docusaurus,e2e-runner,playwright,shadcn-ui,terraform,pulumi,strapi,vercel,core --output-style=stream`](https://cloud.nx.app/runs/WR0y1KNML0?utm_source=pull-request&utm_medium=comment) - [`nx run-many --target=test --projects=gcp-deployment-manager,changelog-notify,firebase-hosting,gcp-task-runner,gcp-cloud-run,gcp-functions,github-pages,translations,gcp-secrets,gcp-storage,react-email,docusaurus,e2e-runner,playwright,shadcn-ui,terraform,pulumi,strapi,vercel,core,actions-plan --output-style=stream --parallel=4`](https://cloud.nx.app/runs/Y1IAYz6j81?utm_source=pull-request&utm_medium=comment)

Sent with 💌 from NxCloud.