Skip to content

Commit e68fc2b

Browse files
committed
Merge branch 'master' of github.com:ovh/terraform-provider-ovh into migrate-with-context
2 parents 7fe7d4c + 3ab0943 commit e68fc2b

File tree

1,246 files changed

+39890
-229282
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,246 files changed

+39890
-229282
lines changed

.cds/terraform-provider-ovh.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,5 +63,4 @@ notifications:
6363
on_success: never
6464
send_to_author: false
6565
recipients:
66-
67-
66+

README.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ First install the terraform provider binary into your local plugin repository:
4646
# Set your target environment (OS_architecture): linux_amd64, darwin_amd64...
4747
$ export ENV="linux_amd64"
4848
$ make build
49-
...
5049
$ mkdir -p ~/.terraform.d/plugins/terraform.local/local/ovh/0.0.1/$ENV
5150
$ cp $GOPATH/bin/terraform-provider-ovh ~/.terraform.d/plugins/terraform.local/local/ovh/0.0.1/$ENV/terraform-provider-ovh_v0.0.1
5251
```
@@ -57,6 +56,7 @@ Then create a terraform configuration using this exact provider:
5756
$ mkdir ~/test-terraform-provider-ovh
5857
$ cd ~/test-terraform-provider-ovh
5958
$ cat > main.tf <<EOF
59+
# Configure the OVHcloud Provider
6060
terraform {
6161
required_providers {
6262
ovh = {
@@ -66,17 +66,14 @@ terraform {
6666
}
6767
}
6868
69-
data "ovh_me" "me" {}
70-
71-
output "me" {
72-
value = data.ovh_me.me
69+
provider "ovh" {
7370
}
7471
EOF
7572
$ export OVH_ENDPOINT="..."
7673
$ export OVH_APPLICATION_KEY="..."
7774
$ export OVH_APPLICATION_SECRET="..."
7875
$ export OVH_CONSUMER_KEY="..."
79-
$ terraform init
76+
$ rm .terraform.lock.hcl && terraform init
8077
...
8178
$ terraform apply
8279
...

go.mod

Lines changed: 27 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,77 +1,64 @@
11
module github.com/ovh/terraform-provider-ovh
22

33
require (
4-
github.com/google/go-cmp v0.5.8
4+
github.com/google/go-cmp v0.5.9
55
github.com/hashicorp/go-cleanhttp v0.5.2
66
github.com/hashicorp/go-cty v1.4.1-0.20200414143053-d3edf31b6320
77
github.com/hashicorp/go-version v1.6.0
8-
github.com/hashicorp/terraform-plugin-sdk/v2 v2.9.0
8+
github.com/hashicorp/terraform-plugin-sdk/v2 v2.24.0
99
github.com/mitchellh/go-homedir v1.1.0
1010
github.com/ovh/go-ovh v1.3.0
1111
github.com/ybriffa/rfc3339 v0.0.0-20220203155318-1789e3fd6e70
1212
golang.org/x/exp v0.0.0-20230224173230-c95f2b4c22f2
1313
gopkg.in/ini.v1 v1.57.0
14-
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c
14+
gopkg.in/yaml.v3 v3.0.1
1515
)
1616

1717
require (
18-
cloud.google.com/go v0.61.0 // indirect
19-
cloud.google.com/go/storage v1.10.0 // indirect
2018
github.com/agext/levenshtein v1.2.2 // indirect
21-
github.com/apparentlymart/go-cidr v1.0.1 // indirect
22-
github.com/apparentlymart/go-textseg v1.0.0 // indirect
19+
github.com/apparentlymart/go-cidr v1.1.0 // indirect
2320
github.com/apparentlymart/go-textseg/v13 v13.0.0 // indirect
24-
github.com/aws/aws-sdk-go v1.25.3 // indirect
25-
github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d // indirect
2621
github.com/davecgh/go-spew v1.1.1 // indirect
27-
github.com/fatih/color v1.7.0 // indirect
28-
github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e // indirect
29-
github.com/golang/protobuf v1.4.2 // indirect
30-
github.com/googleapis/gax-go/v2 v2.0.5 // indirect
22+
github.com/fatih/color v1.13.0 // indirect
23+
github.com/golang/protobuf v1.5.2 // indirect
3124
github.com/gopherjs/gopherjs v0.0.0-20181103185306-d547d1d9531e // indirect
3225
github.com/hashicorp/errwrap v1.0.0 // indirect
3326
github.com/hashicorp/go-checkpoint v0.5.0 // indirect
34-
github.com/hashicorp/go-getter v1.5.3 // indirect
35-
github.com/hashicorp/go-hclog v0.15.0 // indirect
36-
github.com/hashicorp/go-multierror v1.0.0 // indirect
37-
github.com/hashicorp/go-plugin v1.4.1 // indirect
38-
github.com/hashicorp/go-safetemp v1.0.0 // indirect
39-
github.com/hashicorp/go-uuid v1.0.1 // indirect
40-
github.com/hashicorp/hcl/v2 v2.3.0 // indirect
27+
github.com/hashicorp/go-hclog v1.2.1 // indirect
28+
github.com/hashicorp/go-multierror v1.1.1 // indirect
29+
github.com/hashicorp/go-plugin v1.4.4 // indirect
30+
github.com/hashicorp/go-uuid v1.0.3 // indirect
31+
github.com/hashicorp/hc-install v0.4.0 // indirect
32+
github.com/hashicorp/hcl/v2 v2.14.1 // indirect
4133
github.com/hashicorp/logutils v1.0.0 // indirect
42-
github.com/hashicorp/terraform-exec v0.15.0 // indirect
43-
github.com/hashicorp/terraform-json v0.13.0 // indirect
44-
github.com/hashicorp/terraform-plugin-go v0.4.0 // indirect
34+
github.com/hashicorp/terraform-exec v0.17.3 // indirect
35+
github.com/hashicorp/terraform-json v0.14.0 // indirect
36+
github.com/hashicorp/terraform-plugin-go v0.14.0 // indirect
37+
github.com/hashicorp/terraform-plugin-log v0.7.0 // indirect
38+
github.com/hashicorp/terraform-registry-address v0.0.0-20220623143253-7d51757b572c // indirect
39+
github.com/hashicorp/terraform-svchost v0.0.0-20200729002733-f050f53b9734 // indirect
4540
github.com/hashicorp/yamux v0.0.0-20181012175058-2f1d1f20f75d // indirect
46-
github.com/jmespath/go-jmespath v0.0.0-20180206201540-c2b33e8439af // indirect
47-
github.com/jstemmer/go-junit-report v0.9.1 // indirect
48-
github.com/klauspost/compress v1.11.2 // indirect
49-
github.com/mattn/go-colorable v0.1.4 // indirect
50-
github.com/mattn/go-isatty v0.0.10 // indirect
41+
github.com/mattn/go-colorable v0.1.12 // indirect
42+
github.com/mattn/go-isatty v0.0.14 // indirect
5143
github.com/mitchellh/copystructure v1.2.0 // indirect
52-
github.com/mitchellh/go-testing-interface v1.0.4 // indirect
44+
github.com/mitchellh/go-testing-interface v1.14.1 // indirect
5345
github.com/mitchellh/go-wordwrap v1.0.0 // indirect
54-
github.com/mitchellh/mapstructure v1.1.2 // indirect
46+
github.com/mitchellh/mapstructure v1.5.0 // indirect
5547
github.com/mitchellh/reflectwalk v1.0.2 // indirect
5648
github.com/oklog/run v1.0.0 // indirect
5749
github.com/smartystreets/assertions v0.0.0-20190116191733-b6c0e53d7304 // indirect
58-
github.com/ulikunitz/xz v0.5.8 // indirect
5950
github.com/vmihailenco/msgpack v4.0.4+incompatible // indirect
60-
github.com/zclconf/go-cty v1.9.1 // indirect
61-
go.opencensus.io v0.22.4 // indirect
51+
github.com/vmihailenco/msgpack/v4 v4.3.12 // indirect
52+
github.com/vmihailenco/tagparser v0.1.1 // indirect
53+
github.com/zclconf/go-cty v1.11.0 // indirect
6254
golang.org/x/crypto v0.1.0 // indirect
63-
golang.org/x/lint v0.0.0-20200302205851-738671d3881b // indirect
64-
golang.org/x/mod v0.9.0 // indirect
6555
golang.org/x/net v0.8.0 // indirect
66-
golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d // indirect
6756
golang.org/x/sys v0.6.0 // indirect
6857
golang.org/x/text v0.8.0 // indirect
69-
golang.org/x/tools v0.7.0 // indirect
70-
google.golang.org/api v0.29.0 // indirect
7158
google.golang.org/appengine v1.6.6 // indirect
7259
google.golang.org/genproto v0.0.0-20200711021454-869866162049 // indirect
73-
google.golang.org/grpc v1.32.0 // indirect
74-
google.golang.org/protobuf v1.25.0 // indirect
60+
google.golang.org/grpc v1.48.0 // indirect
61+
google.golang.org/protobuf v1.28.1 // indirect
7562
)
7663

7764
go 1.20

0 commit comments

Comments
 (0)