Skip to content

Commit 975d5a5

Browse files
author
Thomas Soulard
committed
Fixed package reference and naming as well as upgraded to latest plugin framework version
1 parent bb6618c commit 975d5a5

File tree

4 files changed

+45
-56
lines changed

4 files changed

+45
-56
lines changed

enclave/policy.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ func (p policy) Create(ctx context.Context, req tfsdk.CreateResourceRequest, res
106106
IsEnabled: isEnabled,
107107
Notes: plan.Notes.Value,
108108
SenderTags: plan.SenderTags,
109-
RecieverTags: plan.ReceiverTags,
109+
ReceiverTags: plan.ReceiverTags,
110110
Acls: policyAcl,
111111
}
112112

@@ -181,7 +181,7 @@ func (p policy) Update(ctx context.Context, req tfsdk.UpdateResourceRequest, res
181181
Description: plan.Description.Value,
182182
IsEnabled: plan.IsEnabled.Value,
183183
SenderTags: plan.SenderTags,
184-
RecieverTags: plan.ReceiverTags,
184+
ReceiverTags: plan.ReceiverTags,
185185
Notes: plan.Notes.Value,
186186
Acls: policyAcl,
187187
})

go.mod

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,20 @@ module github.com/enclave-networks/terraform-provider-enclave
33
go 1.18
44

55
require (
6-
github.com/enclave-networks/go-enclaveapi v0.0.0-20220526143250-067eea338065
7-
github.com/hashicorp/terraform-plugin-framework v0.6.1
8-
github.com/hashicorp/terraform-plugin-go v0.9.0
6+
github.com/enclave-networks/go-enclaveapi v0.0.0-20220526161530-d9de2b9db940
7+
github.com/hashicorp/terraform-plugin-framework v0.8.0
8+
github.com/hashicorp/terraform-plugin-go v0.9.1
99
)
1010

1111
require (
1212
github.com/fatih/color v1.13.0 // indirect
1313
github.com/golang/protobuf v1.5.2 // indirect; indirects
14-
github.com/google/go-cmp v0.5.7 // indirect
14+
github.com/google/go-cmp v0.5.8 // indirect
1515
github.com/hashicorp/go-hclog v1.2.0 // indirect
16-
github.com/hashicorp/go-plugin v1.4.3 // indirect
16+
github.com/hashicorp/go-plugin v1.4.4 // indirect
1717
github.com/hashicorp/go-uuid v1.0.3 // indirect
18-
github.com/hashicorp/terraform-plugin-log v0.3.0 // indirect
19-
github.com/hashicorp/terraform-registry-address v0.0.0-20220131103327-5c1c5e123275 // indirect
18+
github.com/hashicorp/terraform-plugin-log v0.4.0 // indirect
19+
github.com/hashicorp/terraform-registry-address v0.0.0-20220510144317-d78f4a47ae27 // indirect
2020
github.com/hashicorp/terraform-svchost v0.0.0-20200729002733-f050f53b9734 // indirect
2121
github.com/hashicorp/yamux v0.0.0-20211028200310-0bc27b27de87 // indirect
2222
github.com/mattn/go-colorable v0.1.12 // indirect
@@ -25,11 +25,11 @@ require (
2525
github.com/oklog/run v1.1.0 // indirect
2626
github.com/vmihailenco/msgpack/v4 v4.3.12 // indirect
2727
github.com/vmihailenco/tagparser v0.1.2 // indirect
28-
golang.org/x/net v0.0.0-20220412020605-290c469a71a5 // indirect
29-
golang.org/x/sys v0.0.0-20220412211240-33da011f77ad // indirect
28+
golang.org/x/net v0.0.0-20220526153639-5463443f8c37 // indirect
29+
golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a // indirect
3030
golang.org/x/text v0.3.7 // indirect
3131
google.golang.org/appengine v1.6.7 // indirect
32-
google.golang.org/genproto v0.0.0-20220413183235-5e96e2839df9 // indirect
33-
google.golang.org/grpc v1.45.0 // indirect
32+
google.golang.org/genproto v0.0.0-20220525015930-6ca3db687a9d // indirect
33+
google.golang.org/grpc v1.46.2 // indirect
3434
google.golang.org/protobuf v1.28.0 // indirect
3535
)

0 commit comments

Comments
 (0)