Provide project path to refetched Terraform state GraphQL queries
What does this MR do and why?
Provides projectPath
when Terraform states are refetched after a GraphQL mutation. Previously null
was passed, which caused an error.
Screenshots or screen recordings
How to set up and validate locally
- Create a Terraform state via Rails console:
> Terraform::State.create!(project_id: <project-id>, name: 'test-state')
- Visit
http://path/to/project/-/terraform
- Click
Actions
->Lock state
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Tiger Watson