Skip to content

Commit

Permalink
(TFECO-8141) Add ephemeral lifecycle messages (#1882)
Browse files Browse the repository at this point in the history
* (TFECO-8141) Add ephemeral lifecycle messages

This commit adds the ephemeral lifecycle messages to the log message type. This will allow the UI to display the progress of ephemeral operations.

This uses messages from hashicorp/terraform#35919, which matches the messages from the HCP API.
  • Loading branch information
jpogran authored Nov 25, 2024
1 parent 9a5bb48 commit 38fec26
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .changes/unreleased/ENHANCEMENTS-20241118-105724.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
kind: ENHANCEMENTS
body: Reflect lifecycle phases of ephemeral resources in HCP Terraform log messages
time: 2024-11-18T10:57:24.466391-05:00
custom:
Issue: "1882"
Repository: vscode-terraform
4 changes: 4 additions & 0 deletions src/api/terraformCloud/log.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ export type MessageType =
| 'provision_errored'
| 'refresh_start'
| 'refresh_complete'
// Ephemeral progress
| 'ephemeral_op_start'
| 'ephemeral_op_complete'
| 'ephemeral_op_errored'
// Test Results
| 'test_abstract'
| 'test_file'
Expand Down

0 comments on commit 38fec26

Please sign in to comment.