Skip to content

Commit 13637fb

Browse files
committed
Add provider and a Standards datasource using Terraform Plugin Framework
Update go version to 1.20 Add pagerdutyplugin provider and new api client Move util functions to its own module Add data source 'standards' to pagerdutyplugin/ Add acceptance test to standards datasource Add website docs for pagerduty_standards
1 parent 5933f6b commit 13637fb

File tree

1,971 files changed

+134376
-26920
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,971 files changed

+134376
-26920
lines changed

.go-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.17
1+
1.20

go.mod

Lines changed: 39 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,73 +1,76 @@
11
module github.com/terraform-providers/terraform-provider-pagerduty
22

3-
go 1.17
3+
go 1.20
44

55
require (
6+
github.com/PagerDuty/go-pagerduty v1.7.1-0.20231212201813-f23264c0c5d4
67
github.com/hashicorp/go-cty v1.4.1-0.20200414143053-d3edf31b6320
78
github.com/hashicorp/go-version v1.6.0
8-
github.com/hashicorp/hc-install v0.5.2
9-
github.com/hashicorp/terraform-exec v0.16.0
10-
github.com/hashicorp/terraform-json v0.13.0
11-
github.com/hashicorp/terraform-plugin-sdk/v2 v2.11.0
9+
github.com/hashicorp/hc-install v0.6.1
10+
github.com/hashicorp/terraform-exec v0.19.0
11+
github.com/hashicorp/terraform-json v0.18.0
12+
github.com/hashicorp/terraform-plugin-framework v1.4.2
13+
github.com/hashicorp/terraform-plugin-go v0.20.0
14+
github.com/hashicorp/terraform-plugin-mux v0.13.0
15+
github.com/hashicorp/terraform-plugin-sdk/v2 v2.30.0
16+
github.com/hashicorp/terraform-plugin-testing v1.6.0
1217
github.com/heimweh/go-pagerduty v0.0.0-20231212192829-0de11cddf326
1318
)
1419

1520
require (
16-
github.com/ProtonMail/go-crypto v0.0.0-20230217124315-7d5c6f04bbb8 // indirect
21+
github.com/ProtonMail/go-crypto v0.0.0-20230828082145-3c4c8a2d2371 // indirect
1722
github.com/agext/levenshtein v1.2.2 // indirect
18-
github.com/apparentlymart/go-cidr v1.1.0 // indirect
19-
github.com/apparentlymart/go-textseg/v13 v13.0.0 // indirect
23+
github.com/apparentlymart/go-textseg/v15 v15.0.0 // indirect
2024
github.com/cloudflare/circl v1.3.3 // indirect
21-
github.com/davecgh/go-spew v1.1.1 // indirect
22-
github.com/fatih/color v1.7.0 // indirect
25+
github.com/fatih/color v1.13.0 // indirect
2326
github.com/golang/protobuf v1.5.3 // indirect
2427
github.com/golang/snappy v0.0.4 // indirect
25-
github.com/google/go-cmp v0.5.9 // indirect
28+
github.com/google/go-cmp v0.6.0 // indirect
2629
github.com/google/go-querystring v1.1.0 // indirect
2730
github.com/hashicorp/errwrap v1.0.0 // indirect
2831
github.com/hashicorp/go-checkpoint v0.5.0 // indirect
2932
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
30-
github.com/hashicorp/go-hclog v1.2.0 // indirect
33+
github.com/hashicorp/go-hclog v1.5.0 // indirect
3134
github.com/hashicorp/go-multierror v1.1.1 // indirect
32-
github.com/hashicorp/go-plugin v1.4.3 // indirect
33-
github.com/hashicorp/go-uuid v1.0.2 // indirect
34-
github.com/hashicorp/hcl/v2 v2.11.1 // indirect
35+
github.com/hashicorp/go-plugin v1.6.0 // indirect
36+
github.com/hashicorp/go-uuid v1.0.3 // indirect
37+
github.com/hashicorp/hcl/v2 v2.19.1 // indirect
3538
github.com/hashicorp/logutils v1.0.0 // indirect
36-
github.com/hashicorp/terraform-plugin-go v0.8.0 // indirect
37-
github.com/hashicorp/terraform-plugin-log v0.3.0 // indirect
38-
github.com/hashicorp/terraform-registry-address v0.0.0-20210412075316-9b2996cce896 // indirect
39-
github.com/hashicorp/terraform-svchost v0.0.0-20200729002733-f050f53b9734 // indirect
40-
github.com/hashicorp/yamux v0.0.0-20181012175058-2f1d1f20f75d // indirect
39+
github.com/hashicorp/terraform-plugin-log v0.9.0 // indirect
40+
github.com/hashicorp/terraform-registry-address v0.2.3 // indirect
41+
github.com/hashicorp/terraform-svchost v0.1.1 // indirect
42+
github.com/hashicorp/yamux v0.1.1 // indirect
4143
github.com/klauspost/compress v1.15.9 // indirect
42-
github.com/mattn/go-colorable v0.1.4 // indirect
43-
github.com/mattn/go-isatty v0.0.10 // indirect
44+
github.com/mattn/go-colorable v0.1.12 // indirect
45+
github.com/mattn/go-isatty v0.0.14 // indirect
4446
github.com/mitchellh/copystructure v1.2.0 // indirect
4547
github.com/mitchellh/go-testing-interface v1.14.1 // indirect
4648
github.com/mitchellh/go-wordwrap v1.0.0 // indirect
47-
github.com/mitchellh/mapstructure v1.4.3 // indirect
49+
github.com/mitchellh/mapstructure v1.5.0 // indirect
4850
github.com/mitchellh/reflectwalk v1.0.2 // indirect
4951
github.com/montanaflynn/stats v0.6.6 // indirect
5052
github.com/oklog/run v1.0.0 // indirect
5153
github.com/pkg/errors v0.9.1 // indirect
5254
github.com/spf13/afero v1.9.5 // indirect
5355
github.com/vmihailenco/msgpack v4.0.4+incompatible // indirect
54-
github.com/vmihailenco/msgpack/v4 v4.3.12 // indirect
55-
github.com/vmihailenco/tagparser v0.1.1 // indirect
56+
github.com/vmihailenco/msgpack/v5 v5.4.1 // indirect
57+
github.com/vmihailenco/tagparser/v2 v2.0.0 // indirect
5658
github.com/xdg-go/pbkdf2 v1.0.0 // indirect
5759
github.com/xdg-go/scram v1.1.1 // indirect
5860
github.com/xdg-go/stringprep v1.0.3 // indirect
5961
github.com/youmark/pkcs8 v0.0.0-20201027041543-1326539a0a0a // indirect
60-
github.com/zclconf/go-cty v1.10.0 // indirect
62+
github.com/zclconf/go-cty v1.14.1 // indirect
6163
go.mongodb.org/mongo-driver v1.10.2 // indirect
62-
golang.org/x/crypto v0.11.0 // indirect
63-
golang.org/x/mod v0.10.0 // indirect
64-
golang.org/x/net v0.10.0 // indirect
65-
golang.org/x/sync v0.1.0 // indirect
66-
golang.org/x/sys v0.10.0 // indirect
67-
golang.org/x/text v0.13.0 // indirect
68-
google.golang.org/appengine v1.6.7 // indirect
69-
google.golang.org/genproto v0.0.0-20210226172003-ab064af71705 // indirect
70-
google.golang.org/grpc v1.45.0 // indirect
71-
google.golang.org/protobuf v1.27.1 // indirect
64+
golang.org/x/crypto v0.16.0 // indirect
65+
golang.org/x/exp v0.0.0-20230809150735-7b3493d9a819 // indirect
66+
golang.org/x/mod v0.13.0 // indirect
67+
golang.org/x/net v0.17.0 // indirect
68+
golang.org/x/sync v0.4.0 // indirect
69+
golang.org/x/sys v0.15.0 // indirect
70+
golang.org/x/text v0.14.0 // indirect
71+
google.golang.org/appengine v1.6.8 // indirect
72+
google.golang.org/genproto/googleapis/rpc v0.0.0-20231002182017-d307bd883b97 // indirect
73+
google.golang.org/grpc v1.60.0 // indirect
74+
google.golang.org/protobuf v1.31.0 // indirect
7275
gopkg.in/ini.v1 v1.67.0 // indirect
7376
)

0 commit comments

Comments
 (0)