Skip to content

Commit c79b8f1

Browse files
authored
Upgrade pulumi-terraform-bridge to v3.130.0 (#1026)
This PR was generated via `$ upgrade-provider pulumi/pulumi-vsphere --kind=bridge --pr-reviewers=corymhall --allow-missing-docs=false`. --- - Upgrading pulumi-terraform-bridge from v3.129.2 to v3.130.0.
1 parent a195849 commit c79b8f1

9 files changed

Lines changed: 769 additions & 713 deletions

File tree

docs/_index.md

Lines changed: 45 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ The datacenter, datastore, resource pool, and network are discovered using the
4747
[`vsphere.ResourcePool`](https://www.terraform.io/docs/providers/vsphere/d/resource_pool.html), and
4848
[`vsphere.getNetwork`](https://www.terraform.io/docs/providers/vsphere/d/network.html) functions respectively.
4949

50-
{{< chooser language "typescript,python,go,csharp,java,yaml" >}}
50+
{{< chooser language "typescript,python,go,csharp,java,yaml,hcl" >}}
5151
{{% choosable language typescript %}}
5252
```yaml
5353
# Pulumi.yaml provider configuration file
@@ -463,6 +463,50 @@ public class App {
463463
}
464464
```
465465

466+
{{% /choosable %}}
467+
{{% choosable language hcl %}}
468+
```hcl
469+
pulumi {
470+
required_providers {
471+
vsphere = {
472+
source = "pulumi/vsphere"
473+
}
474+
}
475+
}
476+
477+
data "vsphere_getdatacenter" "datacenter" {
478+
name = "dc-01"
479+
}
480+
data "vsphere_getdatastore" "datastore" {
481+
name = "datastore-01"
482+
datacenter_id = data.vsphere_getdatacenter.datacenter.id
483+
}
484+
data "vsphere_getcomputecluster" "cluster" {
485+
name = "cluster-01"
486+
datacenter_id = data.vsphere_getdatacenter.datacenter.id
487+
}
488+
data "vsphere_getnetwork" "network" {
489+
name = "VM Network"
490+
datacenter_id = data.vsphere_getdatacenter.datacenter.id
491+
}
492+
493+
resource "vsphere_virtualmachine" "vm" {
494+
name = "foo"
495+
resource_pool_id = data.vsphere_getcomputecluster.cluster.resource_pool_id
496+
datastore_id = data.vsphere_getdatastore.datastore.id
497+
num_cpus = 1
498+
memory = 1024
499+
guest_id = "otherLinux64Guest"
500+
network_interfaces {
501+
network_id = data.vsphere_getnetwork.network.id
502+
}
503+
disks {
504+
label = "disk0"
505+
size = 20
506+
}
507+
}
508+
```
509+
466510
{{% /choosable %}}
467511
{{< /chooser >}}
468512

examples/go.mod

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module github.com/pulumi/pulumi-vsphere/examples/v4
22

33
go 1.25.8
44

5-
require github.com/pulumi/pulumi/pkg/v3 v3.236.0
5+
require github.com/pulumi/pulumi/pkg/v3 v3.242.0
66

77
require (
88
cloud.google.com/go v0.112.1 // indirect
@@ -23,7 +23,6 @@ require (
2323
github.com/Microsoft/go-winio v0.6.2 // indirect
2424
github.com/ProtonMail/go-crypto v1.1.6 // indirect
2525
github.com/agext/levenshtein v1.2.3 // indirect
26-
github.com/apparentlymart/go-textseg/v13 v13.0.0 // indirect
2726
github.com/apparentlymart/go-textseg/v15 v15.0.0 // indirect
2827
github.com/atotto/clipboard v0.1.4 // indirect
2928
github.com/aws/aws-sdk-go v1.50.36 // indirect
@@ -58,7 +57,7 @@ require (
5857
github.com/clipperhouse/displaywidth v0.11.0 // indirect
5958
github.com/clipperhouse/uax29/v2 v2.7.0 // indirect
6059
github.com/cloudflare/circl v1.6.3 // indirect
61-
github.com/cyphar/filepath-securejoin v0.4.1 // indirect
60+
github.com/cyphar/filepath-securejoin v0.6.1 // indirect
6261
github.com/davecgh/go-spew v1.1.1 // indirect
6362
github.com/deckarep/golang-set/v2 v2.5.0 // indirect
6463
github.com/djherbis/times v1.5.0 // indirect
@@ -71,8 +70,8 @@ require (
7170
github.com/git-pkgs/purl v0.1.10 // indirect
7271
github.com/git-pkgs/vers v0.2.4 // indirect
7372
github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 // indirect
74-
github.com/go-git/go-billy/v5 v5.8.0 // indirect
75-
github.com/go-git/go-git/v5 v5.18.0 // indirect
73+
github.com/go-git/go-billy/v5 v5.9.0 // indirect
74+
github.com/go-git/go-git/v5 v5.19.0 // indirect
7675
github.com/go-jose/go-jose/v3 v3.0.5 // indirect
7776
github.com/go-logr/logr v1.4.3 // indirect
7877
github.com/go-logr/stdr v1.2.2 // indirect
@@ -102,14 +101,15 @@ require (
102101
github.com/hashicorp/go-sockaddr v1.0.6 // indirect
103102
github.com/hashicorp/go-version v1.9.0 // indirect
104103
github.com/hashicorp/hcl v1.0.0 // indirect
105-
github.com/hashicorp/hcl/v2 v2.22.0 // indirect
104+
github.com/hashicorp/hcl/v2 v2.24.0 // indirect
106105
github.com/hashicorp/vault/api v1.12.0 // indirect
107106
github.com/inconshreveable/mousetrap v1.1.0 // indirect
108107
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect
109108
github.com/jmespath/go-jmespath v0.4.0 // indirect
110109
github.com/json-iterator/go v1.1.12 // indirect
111110
github.com/kevinburke/ssh_config v1.2.0 // indirect
112111
github.com/klauspost/compress v1.18.0 // indirect
112+
github.com/klauspost/cpuid/v2 v2.3.0 // indirect
113113
github.com/kylelemons/godebug v1.1.0 // indirect
114114
github.com/lucasb-eyer/go-colorful v1.4.0 // indirect
115115
github.com/mattn/go-isatty v0.0.22 // indirect
@@ -132,14 +132,14 @@ require (
132132
github.com/pgavlin/fx v0.1.6 // indirect
133133
github.com/pgavlin/fx/v2 v2.0.12 // indirect
134134
github.com/pgavlin/goldmark v1.1.33-0.20200616210433-b5eb04559386 // indirect
135-
github.com/pjbgf/sha1cd v0.3.2 // indirect
135+
github.com/pjbgf/sha1cd v0.6.0 // indirect
136136
github.com/pkg/browser v0.0.0-20240102092130-5ac0b6a4141c // indirect
137137
github.com/pkg/errors v0.9.1 // indirect
138138
github.com/pkg/term v1.1.0 // indirect
139139
github.com/pmezard/go-difflib v1.0.0 // indirect
140140
github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231 // indirect
141-
github.com/pulumi/esc v0.17.0 // indirect
142-
github.com/pulumi/pulumi/sdk/v3 v3.236.0 // indirect
141+
github.com/pulumi/esc v0.24.0 // indirect
142+
github.com/pulumi/pulumi/sdk/v3 v3.242.0 // indirect
143143
github.com/rivo/uniseg v0.4.7 // indirect
144144
github.com/rogpeppe/go-internal v1.14.1 // indirect
145145
github.com/ryanuber/go-glob v1.0.0 // indirect
@@ -160,11 +160,11 @@ require (
160160
github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 // indirect
161161
github.com/xeipuuv/gojsonschema v1.2.0 // indirect
162162
github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e // indirect
163-
github.com/zclconf/go-cty v1.13.2 // indirect
163+
github.com/zclconf/go-cty v1.16.3 // indirect
164164
go.opencensus.io v0.24.0 // indirect
165165
go.opentelemetry.io/auto/sdk v1.2.1 // indirect
166-
go.opentelemetry.io/collector/featuregate v1.57.0 // indirect
167-
go.opentelemetry.io/collector/pdata v1.57.0 // indirect
166+
go.opentelemetry.io/collector/featuregate v1.58.0 // indirect
167+
go.opentelemetry.io/collector/pdata v1.58.0 // indirect
168168
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.49.0 // indirect
169169
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.49.0 // indirect
170170
go.opentelemetry.io/otel v1.43.0 // indirect
@@ -178,23 +178,23 @@ require (
178178
go.uber.org/multierr v1.11.0 // indirect
179179
gocloud.dev v0.37.0 // indirect
180180
gocloud.dev/secrets/hashivault v0.37.0 // indirect
181-
golang.org/x/crypto v0.50.0 // indirect
182-
golang.org/x/exp v0.0.0-20240719175910-8a7402abbf56 // indirect
183-
golang.org/x/mod v0.34.0 // indirect
184-
golang.org/x/net v0.53.0 // indirect
181+
golang.org/x/crypto v0.51.0 // indirect
182+
golang.org/x/exp v0.0.0-20260410095643-746e56fc9e2f // indirect
183+
golang.org/x/mod v0.35.0 // indirect
184+
golang.org/x/net v0.54.0 // indirect
185185
golang.org/x/oauth2 v0.36.0 // indirect
186186
golang.org/x/sync v0.20.0 // indirect
187-
golang.org/x/sys v0.43.0 // indirect
188-
golang.org/x/term v0.42.0 // indirect
189-
golang.org/x/text v0.36.0 // indirect
187+
golang.org/x/sys v0.44.0 // indirect
188+
golang.org/x/term v0.43.0 // indirect
189+
golang.org/x/text v0.37.0 // indirect
190190
golang.org/x/time v0.12.0 // indirect
191-
golang.org/x/tools v0.43.0 // indirect
191+
golang.org/x/tools v0.44.0 // indirect
192192
golang.org/x/xerrors v0.0.0-20231012003039-104605ab7028 // indirect
193193
google.golang.org/api v0.169.0 // indirect
194194
google.golang.org/genproto v0.0.0-20240311173647-c811ad7063a7 // indirect
195-
google.golang.org/genproto/googleapis/api v0.0.0-20260504160031-60b97b32f348 // indirect
196-
google.golang.org/genproto/googleapis/rpc v0.0.0-20260504160031-60b97b32f348 // indirect
197-
google.golang.org/grpc v1.81.0 // indirect
195+
google.golang.org/genproto/googleapis/api v0.0.0-20260519071638-aa98bba5eb94 // indirect
196+
google.golang.org/genproto/googleapis/rpc v0.0.0-20260519071638-aa98bba5eb94 // indirect
197+
google.golang.org/grpc v1.81.1 // indirect
198198
google.golang.org/protobuf v1.36.11 // indirect
199199
gopkg.in/warnings.v0 v0.1.2 // indirect
200200
gopkg.in/yaml.v3 v3.0.1 // indirect

0 commit comments

Comments
 (0)