Skip to content

Commit 558d95d

Browse files
Upgrade terraform-provider-spotinst to v1.228.0 (#1151)
This PR was generated via `$ upgrade-provider pulumi/pulumi-spotinst --kind=provider --target-bridge-version=latest --target-version=1.228.0 --allow-missing-docs=true`. --- - Upgrading terraform-provider-spotinst from 1.225.0 to 1.228.0. Fixes #1150 Fixes #1142 Fixes #1139 Fixes #1130 --------- Co-authored-by: guineveresaenger <[email protected]>
1 parent c6ce201 commit 558d95d

39 files changed

+2295
-16
lines changed

examples/aws_elastigroup/csharp/ElastiGroupStack.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ public ElastiGroupStack()
99
{
1010
var sg = new Pulumi.Aws.Ec2.SecurityGroup("my-csharp-security-group");
1111

12-
var azs = GetAvailabilityZones.InvokeAsync();
13-
1412
var elastigroup = new Elastigroup("my-csharp-elastigroup", new ElastigroupArgs
1513
{
1614
FallbackToOndemand = false,
@@ -27,7 +25,7 @@ public ElastiGroupStack()
2725
sg.Id
2826
},
2927
Region = "us-west-2",
30-
AvailabilityZones = azs.Result.Names,
28+
AvailabilityZones = new[] { "us-west-2a:subnet-12345678", "us-west-2b:subnet-87654321" },
3129
ImageId = "ami-e251209a",
3230
});
3331
}

examples/aws_elastigroup/ts/index.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ import * as aws from "@pulumi/aws";
44

55
const sg = new aws.ec2.SecurityGroup("my-security-group");
66

7-
const azs = pulumi.output(aws.getAvailabilityZones()).names;
8-
97
const elastiGroup = new spotinst.aws.Elastigroup("my-elastigroup", {
108
fallbackToOndemand: false,
119
instanceTypesOndemand: "m3.2xlarge",
@@ -14,7 +12,7 @@ const elastiGroup = new spotinst.aws.Elastigroup("my-elastigroup", {
1412
product: "Linux/UNIX",
1513
securityGroups: [sg.id],
1614
region: "us-west-2",
17-
availabilityZones: azs,
15+
availabilityZones: ["us-west-2a:subnet-12345678", "us-west-2b:subnet-87654321"],
1816
imageId: "ami-e251209a",
1917
});
2018

provider/cmd/pulumi-resource-spotinst/bridge-metadata.json

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2120,6 +2120,19 @@
21202120
"create_options": {
21212121
"maxItemsOne": true
21222122
},
2123+
"filters": {
2124+
"maxItemsOne": true,
2125+
"elem": {
2126+
"fields": {
2127+
"exclude_families": {
2128+
"maxItemsOne": false
2129+
},
2130+
"include_families": {
2131+
"maxItemsOne": false
2132+
}
2133+
}
2134+
}
2135+
},
21232136
"instance_types": {
21242137
"maxItemsOne": false
21252138
},
@@ -2208,6 +2221,16 @@
22082221
}
22092222
}
22102223
},
2224+
"auto_apply_definition": {
2225+
"maxItemsOne": false,
2226+
"elem": {
2227+
"fields": {
2228+
"namespaces": {
2229+
"maxItemsOne": false
2230+
}
2231+
}
2232+
}
2233+
},
22112234
"detach_workloads": {
22122235
"maxItemsOne": false,
22132236
"elem": {

provider/cmd/pulumi-resource-spotinst/schema.json

Lines changed: 95 additions & 1 deletion
Large diffs are not rendered by default.

provider/go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ toolchain go1.24.6
77
require (
88
github.com/pulumi/pulumi-terraform-bridge/v3 v3.114.0
99
github.com/pulumi/pulumi/sdk/v3 v3.190.0
10-
github.com/spotinst/terraform-provider-spotinst v1.225.0
10+
github.com/spotinst/terraform-provider-spotinst v1.228.0
1111
)
1212

1313
replace (
@@ -161,7 +161,7 @@ require (
161161
github.com/spf13/cast v1.5.0 // indirect
162162
github.com/spf13/cobra v1.9.1 // indirect
163163
github.com/spf13/pflag v1.0.6 // indirect
164-
github.com/spotinst/spotinst-sdk-go v1.399.0 // indirect
164+
github.com/spotinst/spotinst-sdk-go v1.402.0 // indirect
165165
github.com/teekennedy/goldmark-markdown v0.3.0 // indirect
166166
github.com/texttheater/golang-levenshtein v1.0.1 // indirect
167167
github.com/uber/jaeger-client-go v2.30.0+incompatible // indirect

provider/go.sum

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2288,10 +2288,10 @@ github.com/spf13/pflag v1.0.3/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnIn
22882288
github.com/spf13/pflag v1.0.6 h1:jFzHGLGAlb3ruxLB8MhbI6A8+AQX/2eW4qeyNZXNp2o=
22892289
github.com/spf13/pflag v1.0.6/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
22902290
github.com/spiffe/go-spiffe/v2 v2.5.0/go.mod h1:P+NxobPc6wXhVtINNtFjNWGBTreew1GBUCwT2wPmb7g=
2291-
github.com/spotinst/spotinst-sdk-go v1.399.0 h1:EK3Y+3SUBsSSshCVwPvAn1TXJRq2NOzrEhbtmMsQS3g=
2292-
github.com/spotinst/spotinst-sdk-go v1.399.0/go.mod h1:Tn4/eb0SFY6IXmxz71CClujvbD/PuT+EO6Ta8v6AML4=
2293-
github.com/spotinst/terraform-provider-spotinst v1.225.0 h1:z8sULw1ubsPxnYIfKK2rt5rhPmEqoHLYHFuE82FqXnk=
2294-
github.com/spotinst/terraform-provider-spotinst v1.225.0/go.mod h1:v3b8HrfNXUdJ/PGY3MieSzO2LLzU6vN2Gac10CrW0Cs=
2291+
github.com/spotinst/spotinst-sdk-go v1.402.0 h1:8KooegnydlirKCCHCgoQtDBSGSJomyhPiW6UVtuht2A=
2292+
github.com/spotinst/spotinst-sdk-go v1.402.0/go.mod h1:Tn4/eb0SFY6IXmxz71CClujvbD/PuT+EO6Ta8v6AML4=
2293+
github.com/spotinst/terraform-provider-spotinst v1.228.0 h1:aha7nZzIyeuFXQiRyQ+HtEkBq/lk+CEkf4YqkWB155Y=
2294+
github.com/spotinst/terraform-provider-spotinst v1.228.0/go.mod h1:GjIrFo0Tnaly3GZiOP2KcHBg8x4fyREqFKEhb58VJvI=
22952295
github.com/stoewer/go-strcase v1.3.0/go.mod h1:fAH5hQ5pehh+j3nZfvwdk2RgEgQjAoM8wodgtPmh1xo=
22962296
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
22972297
github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=

sdk/dotnet/Gke/Inputs/OceanLaunchSpecFiltersArgs.cs

Lines changed: 68 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/dotnet/Gke/Inputs/OceanLaunchSpecFiltersGetArgs.cs

Lines changed: 68 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/dotnet/Gke/OceanLaunchSpec.cs

Lines changed: 34 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/dotnet/Gke/Outputs/OceanLaunchSpecFilters.cs

Lines changed: 63 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)