Skip to content

Commit

Permalink
Bump terraform-ls to 0.35.0-beta1 (#1826)
Browse files Browse the repository at this point in the history
* Bump terraform-ls to 0.35.0-beta1

* Add new completions

---------

Co-authored-by: James Pogran <jpogran@outlook.com>
  • Loading branch information
ansgarm and jpogran authored Aug 23, 2024
1 parent 1a07ba5 commit 6ab1242
Show file tree
Hide file tree
Showing 19 changed files with 105 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .changes/unreleased/BUG FIXES-20240823-102914.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
kind: BUG FIXES
body: Fix type for provider references in component blocks
time: 2024-08-23T10:29:14.023346+02:00
custom:
Issue: "391"
Repository: terraform-schema
6 changes: 6 additions & 0 deletions .changes/unreleased/ENHANCEMENTS-20240815-110018.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
kind: ENHANCEMENTS
body: Enable component references
time: 2024-08-15T11:00:18.786903+02:00
custom:
Issue: "386"
Repository: terraform-schema
6 changes: 6 additions & 0 deletions .changes/unreleased/ENHANCEMENTS-20240815-121707.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
kind: ENHANCEMENTS
body: Support references for identity tokens and their attributes
time: 2024-08-15T12:17:07.66066-04:00
custom:
Issue: "388"
Repository: terraform-schema
6 changes: 6 additions & 0 deletions .changes/unreleased/ENHANCEMENTS-20240815-121709.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
kind: ENHANCEMENTS
body: Enable references for variables in deployment inputs (Deploy)
time: 2024-08-15T12:17:09.801718-04:00
custom:
Issue: "389"
Repository: terraform-schema
6 changes: 6 additions & 0 deletions .changes/unreleased/ENHANCEMENTS-20240815-121711.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
kind: ENHANCEMENTS
body: Enable component references
time: 2024-08-15T12:17:11.950162-04:00
custom:
Issue: "386"
Repository: terraform-schema
6 changes: 6 additions & 0 deletions .changes/unreleased/ENHANCEMENTS-20240815-121714.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
kind: ENHANCEMENTS
body: Enable ephemeral values for variable
time: 2024-08-15T12:17:14.09274-04:00
custom:
Issue: "387"
Repository: terraform-schema
6 changes: 6 additions & 0 deletions .changes/unreleased/ENHANCEMENTS-20240815-121716.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
kind: ENHANCEMENTS
body: Enable output references
time: 2024-08-15T12:17:16.21816-04:00
custom:
Issue: "384"
Repository: terraform-schema
6 changes: 6 additions & 0 deletions .changes/unreleased/ENHANCEMENTS-20240815-121718.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
kind: ENHANCEMENTS
body: Enable provider references
time: 2024-08-15T12:17:18.370531-04:00
custom:
Issue: "385"
Repository: terraform-schema
6 changes: 6 additions & 0 deletions .changes/unreleased/ENHANCEMENTS-20240815-121720.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
kind: ENHANCEMENTS
body: Add Address to variable block schema for stacks to enable references
time: 2024-08-15T12:17:20.507605-04:00
custom:
Issue: "383"
Repository: terraform-schema
6 changes: 6 additions & 0 deletions .changes/unreleased/ENHANCEMENTS-20240815-121722.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
kind: ENHANCEMENTS
body: Add deployments store block schema
time: 2024-08-15T12:17:22.646247-04:00
custom:
Issue: "382"
Repository: terraform-schema
6 changes: 6 additions & 0 deletions .changes/unreleased/ENHANCEMENTS-20240815-121724.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
kind: ENHANCEMENTS
body: Add input block schema and deprecate variable block
time: 2024-08-15T12:17:24.782291-04:00
custom:
Issue: "381"
Repository: terraform-schema
6 changes: 6 additions & 0 deletions .changes/unreleased/ENHANCEMENTS-20240815-135108.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
kind: ENHANCEMENTS
body: Validate Stack and Deployment files for unreferenced origins
time: 2024-08-15T13:51:08.906805-04:00
custom:
Issue: "1797"
Repository: terraform-ls
6 changes: 6 additions & 0 deletions .changes/unreleased/ENHANCEMENTS-20240816-134804.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
kind: ENHANCEMENTS
body: Early decode deployment config to support references to store blocks
time: 2024-08-16T13:48:04.258277+02:00
custom:
Issue: "390"
Repository: terraform-schema
6 changes: 6 additions & 0 deletions .changes/unreleased/ENHANCEMENTS-20240816-154910.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
kind: ENHANCEMENTS
body: Support a subset of functions in deployment configurations
time: 2024-08-16T15:49:10.404259+02:00
custom:
Issue: "1799"
Repository: terraform-ls
6 changes: 6 additions & 0 deletions .changes/unreleased/ENHANCEMENTS-20240823-102940.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
kind: ENHANCEMENTS
body: Support description attribute for orchestration rule block
time: 2024-08-23T10:29:40.717478+02:00
custom:
Issue: "393"
Repository: terraform-schema
6 changes: 6 additions & 0 deletions .changes/unreleased/ENHANCEMENTS-20240823-103027.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
kind: ENHANCEMENTS
body: Support locals in stack and deploy configs
time: 2024-08-23T10:30:27.204226+02:00
custom:
Issue: "395"
Repository: terraform-schema
6 changes: 6 additions & 0 deletions .changes/unreleased/ENHANCEMENTS-20240823-103059.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
kind: ENHANCEMENTS
body: Support depends_on attribute in component blocks
time: 2024-08-23T10:30:59.844584+02:00
custom:
Issue: "392"
Repository: terraform-schema
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"vscode": "^1.86.2"
},
"langServer": {
"version": "0.35.0-alpha2"
"version": "0.35.0-beta1"
},
"syntax": {
"version": "0.5.0"
Expand Down
2 changes: 2 additions & 0 deletions src/test/integration/stacks/stack.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ suite('stacks stack', () => {
test('completes blocks available for stacks files', async () => {
const expected = [
new vscode.CompletionItem('component', vscode.CompletionItemKind.Class),
new vscode.CompletionItem('locals', vscode.CompletionItemKind.Class),
new vscode.CompletionItem('output', vscode.CompletionItemKind.Class),
new vscode.CompletionItem('provider', vscode.CompletionItemKind.Class),
new vscode.CompletionItem('required_providers', vscode.CompletionItemKind.Class),
Expand Down Expand Up @@ -70,6 +71,7 @@ suite('stacks stack', () => {
// });

const expected = [
new vscode.CompletionItem('depends_on', vscode.CompletionItemKind.Property),
new vscode.CompletionItem('for_each', vscode.CompletionItemKind.Property),
new vscode.CompletionItem('inputs', vscode.CompletionItemKind.Property),
new vscode.CompletionItem('providers', vscode.CompletionItemKind.Property),
Expand Down

0 comments on commit 6ab1242

Please sign in to comment.