Skip to content

Commit

Permalink
Merge pull request #211 from pulumi/stack72/v1.78.0
Browse files Browse the repository at this point in the history
  • Loading branch information
stack72 committed Jun 30, 2022
2 parents cabe4a0 + 396b47a commit f504d90
Show file tree
Hide file tree
Showing 11 changed files with 239 additions and 16 deletions.
28 changes: 26 additions & 2 deletions provider/cmd/pulumi-resource-spotinst/schema.json

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions provider/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ replace (
github.com/hashicorp/terraform-exec => github.com/hashicorp/terraform-exec v0.15.0
github.com/hashicorp/terraform-plugin-sdk/v2 => github.com/pulumi/terraform-plugin-sdk/v2 v2.0.0-20220505215311-795430389fa7
github.com/hashicorp/vault => github.com/hashicorp/vault v1.2.0
github.com/spotinst/terraform-provider-spotinst => github.com/pulumi/terraform-provider-spotinst v1.33.1-0.20220627133113-a1bc6c524aae
github.com/spotinst/terraform-provider-spotinst => github.com/pulumi/terraform-provider-spotinst v1.33.1-0.20220630132753-b477e3d735ce
)

require (
Expand Down Expand Up @@ -168,9 +168,9 @@ require (
github.com/spf13/cast v1.4.1 // indirect
github.com/spf13/cobra v1.4.0 // indirect
github.com/spf13/pflag v1.0.5 // indirect
github.com/spotinst/spotinst-sdk-go v1.120.0 // indirect
github.com/spotinst/spotinst-sdk-go v1.122.0 // indirect
github.com/src-d/gcfg v1.4.0 // indirect
github.com/stretchr/testify v1.7.1 // indirect
github.com/stretchr/testify v1.7.2 // indirect
github.com/terraform-providers/terraform-provider-archive v1.3.0 // indirect
github.com/terraform-providers/terraform-provider-http v1.2.0 // indirect
github.com/texttheater/golang-levenshtein v1.0.1 // indirect
Expand Down Expand Up @@ -207,12 +207,12 @@ require (
google.golang.org/grpc v1.45.0 // indirect
google.golang.org/protobuf v1.28.0 // indirect
gopkg.in/AlecAivazis/survey.v1 v1.8.9-0.20200217094205-6773bdf39b7f // indirect
gopkg.in/ini.v1 v1.66.4 // indirect
gopkg.in/ini.v1 v1.66.6 // indirect
gopkg.in/square/go-jose.v2 v2.6.0 // indirect
gopkg.in/src-d/go-billy.v4 v4.3.2 // indirect
gopkg.in/src-d/go-git.v4 v4.13.1 // indirect
gopkg.in/warnings.v0 v0.1.2 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
sourcegraph.com/sourcegraph/appdash v0.0.0-20211028080628-e2786a622600 // indirect
)
19 changes: 10 additions & 9 deletions provider/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -813,8 +813,8 @@ github.com/pulumi/terraform-diff-reader v0.0.0-20201211191010-ad4715e9285e h1:Di
github.com/pulumi/terraform-diff-reader v0.0.0-20201211191010-ad4715e9285e/go.mod h1:sZ9FUzGO+yM41hsQHs/yIcj/Y993qMdBxBU5mpDmAfQ=
github.com/pulumi/terraform-plugin-sdk/v2 v2.0.0-20220505215311-795430389fa7 h1:RAiGj0GniixD+G+HuUzFWZh2VKdQ50nv5+EmkKG1u3E=
github.com/pulumi/terraform-plugin-sdk/v2 v2.0.0-20220505215311-795430389fa7/go.mod h1:TPjMXvpPNWagHzYOmVPzzRRIBTuaLVukR+esL08tgzg=
github.com/pulumi/terraform-provider-spotinst v1.33.1-0.20220627133113-a1bc6c524aae h1:Gl62oiOkZLfvj2EMLUEx7n7Yc/3F6uPKuP9qKRkbahw=
github.com/pulumi/terraform-provider-spotinst v1.33.1-0.20220627133113-a1bc6c524aae/go.mod h1:FfRBM2p2OAZwLedaciLOriCavBrCkGHlMl0n0IVYdzI=
github.com/pulumi/terraform-provider-spotinst v1.33.1-0.20220630132753-b477e3d735ce h1:/wGwlMPQJqG6NMUkcSp6fD5WHKrUbPsO8RcIu0c1D0w=
github.com/pulumi/terraform-provider-spotinst v1.33.1-0.20220630132753-b477e3d735ce/go.mod h1:ym5VECfYnrcNSrV/k1Xzsnsmp04Qk0scURjWtPZoTcU=
github.com/rivo/uniseg v0.2.0 h1:S1pD9weZBuJdFmowNwbpi7BJ8TNftyUImj/0WQi72jY=
github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc=
github.com/rjeczalik/notify v0.9.2 h1:MiTWrPj55mNDHEiIX5YUSKefw/+lCQVoAFmD6oQm5w8=
Expand Down Expand Up @@ -858,8 +858,8 @@ github.com/spf13/pflag v1.0.2/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnIn
github.com/spf13/pflag v1.0.3/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4=
github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA=
github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
github.com/spotinst/spotinst-sdk-go v1.120.0 h1:cwAx284c4mQDvL6hXI4e+XNC3snICIEWeuDJvN3YPA4=
github.com/spotinst/spotinst-sdk-go v1.120.0/go.mod h1:786KK8PDw7vdtLgni44bUS1JjxdA/Xa2XLhsqTHXQdg=
github.com/spotinst/spotinst-sdk-go v1.122.0 h1:AZhfF3MC6GgpmhhJkviYGrgpeLFphudtFkdNrCs+sVw=
github.com/spotinst/spotinst-sdk-go v1.122.0/go.mod h1:C6mrT7+mqOgPyabacjyYTvilu8Xm96mvTvrZQhj99WI=
github.com/src-d/gcfg v1.4.0 h1:xXbNR5AlLSA315x2UO+fTSSAXCDf+Ar38/6oyGbDKQ4=
github.com/src-d/gcfg v1.4.0/go.mod h1:p/UMsR43ujA89BJY9duynAwIpvqEujIH/jFlfL7jWoI=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
Expand All @@ -873,8 +873,8 @@ github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81P
github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA=
github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
github.com/stretchr/testify v1.7.1 h1:5TQK59W5E3v0r2duFAb7P95B6hEeOyEnHRa8MjYSMTY=
github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
github.com/stretchr/testify v1.7.2 h1:4jaiDzPyXQvSd7D0EjG45355tLlV3VOECpq10pLC+8s=
github.com/stretchr/testify v1.7.2/go.mod h1:R6va5+xMeoiuVRoj+gSkQ7d3FALtqAAGI1FQKckRals=
github.com/terraform-providers/terraform-provider-archive v1.3.0 h1:8WzDXMwTdTd4Z7KAUjnYwopk1DgGJ/DLH0xowJ8h+/8=
github.com/terraform-providers/terraform-provider-archive v1.3.0/go.mod h1:7oAwNW55F65KauS++/XmAnrXhLfQRTYt549eYs4zU0w=
github.com/terraform-providers/terraform-provider-http v1.2.0 h1:pOP/SNlLjB18CydtTJJwzkZGkHYX3LWzIoQpYQuBdyw=
Expand Down Expand Up @@ -1477,8 +1477,8 @@ gopkg.in/cheggaaa/pb.v1 v1.0.27/go.mod h1:V/YB90LKu/1FcN3WVnfiiE5oMCibMjukxqG/qS
gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI=
gopkg.in/fsnotify.v1 v1.4.7/go.mod h1:Tz8NjZHkW78fSQdbUxIjBTcgA1z1m8ZHf0WmKUhAMys=
gopkg.in/gemnasium/logrus-airbrake-hook.v2 v2.1.2/go.mod h1:Xk6kEKp8OKb+X14hQBKWaSkCsqBpgog8nAV2xsGOxlo=
gopkg.in/ini.v1 v1.66.4 h1:SsAcf+mM7mRZo2nJNGt8mZCjG8ZRaNGMURJw7BsIST4=
gopkg.in/ini.v1 v1.66.4/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k=
gopkg.in/ini.v1 v1.66.6 h1:LATuAqN/shcYAOkv3wl2L4rkaKqkcgTBQjOyYDvcPKI=
gopkg.in/ini.v1 v1.66.6/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k=
gopkg.in/square/go-jose.v2 v2.3.1/go.mod h1:M9dMgbHiYLoDGQrXy7OpJDJWiKiU//h+vD76mk0e1AI=
gopkg.in/square/go-jose.v2 v2.5.1/go.mod h1:M9dMgbHiYLoDGQrXy7OpJDJWiKiU//h+vD76mk0e1AI=
gopkg.in/square/go-jose.v2 v2.6.0 h1:NGk74WTnPKBNUhNzQX7PYcTLUjoq7mzKk2OKbvwk2iI=
Expand All @@ -1502,8 +1502,9 @@ gopkg.in/yaml.v2 v2.3.0/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY=
gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ=
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b h1:h8qDotaEPuJATrMmW04NCwg7v22aHH28wwpauUhK9Oo=
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
gotest.tools v2.2.0+incompatible h1:VsBPFP1AI068pPrMxtb/S8Zkgf9xEmTLJjfM+P5UIEo=
gotest.tools v2.2.0+incompatible/go.mod h1:DsYFclhRJ6vuDpmuTbkuFWG+y2sxOXAzmJt81HFBacw=
gotest.tools/v3 v3.0.2 h1:kG1BFyqVHuQoVQiR1bWGnfz/fmHvvuiSPIV7rvl360E=
Expand Down
19 changes: 19 additions & 0 deletions sdk/dotnet/Ecs/Ocean.cs
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ namespace Pulumi.SpotInst.Ecs
/// Value = "fakeValue",
/// },
/// },
/// UseAsTemplateOnly = true,
/// UserData = "echo hello world",
/// UtilizeCommitments = false,
/// UtilizeReservedInstances = false,
Expand Down Expand Up @@ -276,6 +277,12 @@ public partial class Ocean : Pulumi.CustomResource
[Output("updatePolicy")]
public Output<Outputs.OceanUpdatePolicy?> UpdatePolicy { get; private set; } = null!;

/// <summary>
/// launch specification defined on the Ocean object will function only as a template for virtual node groups.
/// </summary>
[Output("useAsTemplateOnly")]
public Output<bool?> UseAsTemplateOnly { get; private set; } = null!;

/// <summary>
/// Base64-encoded MIME user data to make available to the instances.
/// </summary>
Expand Down Expand Up @@ -520,6 +527,12 @@ public InputList<Inputs.OceanTagArgs> Tags
[Input("updatePolicy")]
public Input<Inputs.OceanUpdatePolicyArgs>? UpdatePolicy { get; set; }

/// <summary>
/// launch specification defined on the Ocean object will function only as a template for virtual node groups.
/// </summary>
[Input("useAsTemplateOnly")]
public Input<bool>? UseAsTemplateOnly { get; set; }

/// <summary>
/// Base64-encoded MIME user data to make available to the instances.
/// </summary>
Expand Down Expand Up @@ -731,6 +744,12 @@ public InputList<Inputs.OceanTagGetArgs> Tags
[Input("updatePolicy")]
public Input<Inputs.OceanUpdatePolicyGetArgs>? UpdatePolicy { get; set; }

/// <summary>
/// launch specification defined on the Ocean object will function only as a template for virtual node groups.
/// </summary>
[Input("useAsTemplateOnly")]
public Input<bool>? UseAsTemplateOnly { get; set; }

/// <summary>
/// Base64-encoded MIME user data to make available to the instances.
/// </summary>
Expand Down
19 changes: 19 additions & 0 deletions sdk/dotnet/Gke/OceanImport.cs
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ namespace Pulumi.SpotInst.Gke
/// EnableIntegrityMonitoring = true,
/// EnableSecureBoot = true,
/// },
/// UseAsTemplateOnly = false,
/// Whitelists =
/// {
/// "n1-standard-1",
Expand Down Expand Up @@ -201,6 +202,12 @@ public partial class OceanImport : Pulumi.CustomResource
[Output("updatePolicy")]
public Output<Outputs.OceanImportUpdatePolicy?> UpdatePolicy { get; private set; } = null!;

/// <summary>
/// launch specification defined on the Ocean object will function only as a template for virtual node groups.
/// </summary>
[Output("useAsTemplateOnly")]
public Output<bool?> UseAsTemplateOnly { get; private set; } = null!;

/// <summary>
/// Instance types allowed in the Ocean cluster.
/// </summary>
Expand Down Expand Up @@ -342,6 +349,12 @@ public InputList<Inputs.OceanImportStrategyArgs> Strategies
[Input("updatePolicy")]
public Input<Inputs.OceanImportUpdatePolicyArgs>? UpdatePolicy { get; set; }

/// <summary>
/// launch specification defined on the Ocean object will function only as a template for virtual node groups.
/// </summary>
[Input("useAsTemplateOnly")]
public Input<bool>? UseAsTemplateOnly { get; set; }

[Input("whitelists")]
private InputList<string>? _whitelists;

Expand Down Expand Up @@ -453,6 +466,12 @@ public InputList<Inputs.OceanImportStrategyGetArgs> Strategies
[Input("updatePolicy")]
public Input<Inputs.OceanImportUpdatePolicyGetArgs>? UpdatePolicy { get; set; }

/// <summary>
/// launch specification defined on the Ocean object will function only as a template for virtual node groups.
/// </summary>
[Input("useAsTemplateOnly")]
public Input<bool>? UseAsTemplateOnly { get; set; }

[Input("whitelists")]
private InputList<string>? _whitelists;

Expand Down
16 changes: 16 additions & 0 deletions sdk/go/spotinst/ecs/ocean.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 16 additions & 0 deletions sdk/go/spotinst/gke/oceanImport.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f504d90

Please sign in to comment.