Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ require (
github.com/mitchellh/cli v1.1.5
github.com/mitchellh/go-homedir v1.1.0
github.com/mitchellh/mapstructure v1.5.0
github.com/opentofu/opentofu-schema v0.3.0
github.com/opentofu/opentofu-schema v0.3.1
github.com/opentofu/registry-address v0.0.0-20230922120653-901b9ae4061a
github.com/opentofu/tofu-exec v0.0.2
github.com/opentofu/tofudl v0.0.1
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -452,8 +452,8 @@ github.com/npillmayer/nestext v0.1.3/go.mod h1:h2lrijH8jpicr25dFY+oAJLyzlya6jhnu
github.com/oklog/run v1.0.0/go.mod h1:dlhp/R75TPv97u0XWUtDeV/lRKWPKSdTuV0TZvrmrQA=
github.com/oklog/ulid v1.3.1 h1:EGfNDEx6MqHz8B3uNV6QAib1UR2Lm97sHi3ocA6ESJ4=
github.com/oklog/ulid v1.3.1/go.mod h1:CirwcVhetQ6Lv90oh/F+FBtV6XMibvdAFo93nm5qn4U=
github.com/opentofu/opentofu-schema v0.3.0 h1:E7zJJ78MymJAGg+UOikYLpV0PbRxGJ28Z5IddV1dpeg=
github.com/opentofu/opentofu-schema v0.3.0/go.mod h1:brkEqnz2GLUnJyKGMxYk8bKTfGmNIEmy+f6uJNOsUv0=
github.com/opentofu/opentofu-schema v0.3.1 h1:YMaMamXss0w2e2PKxvH9Y+NfyxUEnJcBMcpOcsw+XiQ=
github.com/opentofu/opentofu-schema v0.3.1/go.mod h1:brkEqnz2GLUnJyKGMxYk8bKTfGmNIEmy+f6uJNOsUv0=
github.com/opentofu/registry-address v0.0.0-20230922120653-901b9ae4061a h1:NyM/PPbc+kxxv2d4OKfE32C5fLtVTLceyg4YKKCYO9Y=
github.com/opentofu/registry-address v0.0.0-20230922120653-901b9ae4061a/go.mod h1:HzQhpVo/NJnGmN+7FPECCVCA5ijU7AUcvf39enBKYOc=
github.com/opentofu/tofu-exec v0.0.2 h1:qpqaHfHVVqEPHfT/hLwRD3rClZNu2VTejrvfjIhGz9A=
Expand Down
16 changes: 15 additions & 1 deletion internal/langserver/handlers/complete_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ func TestEphemeralCompletion_ephemeralTypes(t *testing.T) {
mock.AnythingOfType(""),
},
ReturnArguments: []interface{}{
version.Must(version.NewVersion("1.11.0-beta1")),
version.Must(version.NewVersion("1.11.0")),
nil,
nil,
},
Expand Down Expand Up @@ -571,6 +571,20 @@ func TestModuleCompletion_withValidData_tooNewVersion(t *testing.T) {
"newText": "description"
}
},
{
"label":"ephemeral",
"kind":10,
"detail":"optional, bool",
"documentation":"Marks variable as ephemeral. OpenTofu will not store ephemeral variable in state at alland will store only their name in the plan. \n Ephemeral variables can only be used in the limited context where ephemerals are allowed. Read more about ephemeral variables.",
"insertTextFormat":1,
"textEdit":{
"range": {
"start":{"line":1,"character":0},
"end":{"line":1,"character":0}
},
"newText":"ephemeral"
}
},
{
"label": "nullable",
"kind": 10,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ terraform {
source = "test/test"
}
}
required_version = "1.11.0-beta1"
required_version = "1.11.0"
}

ephemeral "" "eph1" {
Expand Down
2 changes: 1 addition & 1 deletion version/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.3.0
0.3.1
Loading