feat(terraform): add environment variables to creation flow - #2900
Conversation
|
View your CI Pipeline Execution ↗ for commit ed8554c
💡 Verify your cache is correct by running tasks in a sandbox. Read docs ↗ ☁️ Nx Cloud last updated this comment at |
There was a problem hiding this comment.
All reported issues were addressed across 9 files
Reply with feedback, questions, or to request a fix.
Fix all with cubic | Re-trigger cubic
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## staging #2900 +/- ##
===========================================
- Coverage 50.09% 45.46% -4.64%
===========================================
Files 897 523 -374
Lines 22006 14149 -7857
Branches 6590 4388 -2202
===========================================
- Hits 11025 6433 -4592
+ Misses 9133 6560 -2573
+ Partials 1848 1156 -692
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
All reported issues were addressed across 6 files (changes from recent commits).
Reply with feedback, questions, or to request a fix.
Fix all with cubic | Re-trigger cubic
There was a problem hiding this comment.
All reported issues were addressed across 3 files (changes from recent commits).
Tip: Review your code locally with the cubic CLI to iterate faster.
Fix all with cubic | Re-trigger cubic
There was a problem hiding this comment.
All reported issues were addressed across 5 files (changes from recent commits).
Tip: Review your code locally with the cubic CLI to iterate faster.
Fix all with cubic | Re-trigger cubic
There was a problem hiding this comment.
All reported issues were addressed across 4 files (changes from recent commits).
Tip: Review your code locally with the cubic CLI to iterate faster.
Fix all with cubic | Re-trigger cubic
There was a problem hiding this comment.
All reported issues were addressed across 1 file (changes from recent commits).
Tip: Review your code locally with the cubic CLI to iterate faster.
Fix all with cubic | Re-trigger cubic
rmnbrd
left a comment
There was a problem hiding this comment.
Tested and approved, LGTM 💯
|
🎉 This PR is included in version 1.345.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |

Summary
Issue: Follow-up to the Terraform variables tab feedback
Screenshots / Recordings
PR Checklist
.cursor/rules)Summary by cubic
Adds an Environment variables step to the Terraform creation flow and makes submit/retry resume-safe to prevent duplicate services and double-submits. Environment variables are separate from Terraform variables; we import them only when provided and skip empty imports.
New Features
/environment-variablesroute via@tanstack/react-routerand sets the document title.allowEmptyand enables empty submissions in Terraform and job creation flows.createdServiceIdto update the existing service on retry; surfaces update errors and narrows the service payload type to literalTERRAFORM.Migration
TerraformCreateContext, read env vars fromvariablesFormand handlecreatedServiceId/setCreatedServiceId./terraform/environment-variablesand account for shifted step indices.Written for commit 7d33ab9. Summary will update on new commits.