Skip to content

Commit

Permalink
Upgrade terraform-provider-spotinst to v1.164.0 (#612)
Browse files Browse the repository at this point in the history
This PR was generated via `$ upgrade-provider pulumi/pulumi-spotinst
--kind=all --target-bridge-version=latest`.

---

- Upgrading terraform-provider-spotinst from 1.162.0  to 1.164.0.
	Fixes #611
  • Loading branch information
pulumi-bot authored Mar 18, 2024
1 parent 64fdca2 commit ae7c278
Show file tree
Hide file tree
Showing 32 changed files with 480 additions and 15 deletions.
28 changes: 26 additions & 2 deletions provider/cmd/pulumi-resource-spotinst/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,10 @@
"type": "string",
"description": "Spotinst Account ID\n"
},
"enabled": {
"type": "boolean",
"description": "Enable or disable the Spotinst provider\n"
},
"featureFlags": {
"type": "string",
"description": "Spotinst SDK Feature Flags\n"
Expand Down Expand Up @@ -2146,9 +2150,18 @@
"deleteOnTermination": {
"type": "boolean"
},
"encrypted": {
"type": "boolean"
},
"iops": {
"type": "integer"
},
"kmsKeyId": {
"type": "string"
},
"snapshotId": {
"type": "string"
},
"throughput": {
"type": "integer"
},
Expand Down Expand Up @@ -9187,6 +9200,10 @@
"type": "string",
"description": "Spotinst Account ID\n"
},
"enabled": {
"type": "boolean",
"description": "Enable or disable the Spotinst provider\n"
},
"featureFlags": {
"type": "string",
"description": "Spotinst SDK Feature Flags\n"
Expand All @@ -9201,6 +9218,10 @@
"type": "string",
"description": "Spotinst Account ID\n"
},
"enabled": {
"type": "boolean",
"description": "Enable or disable the Spotinst provider\n"
},
"featureFlags": {
"type": "string",
"description": "Spotinst SDK Feature Flags\n"
Expand Down Expand Up @@ -9441,10 +9462,11 @@
}
},
"spotinst:aws/credentials:Credentials": {
"description": "Provides a Spotinst credential AWS resource.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as spotinst from \"@pulumi/spotinst\";\n\n// set credential AWS\nconst credential = new spotinst.aws.Credentials(\"credential\", {\n accountid: \"act-123456\",\n iamrole: \"arn:aws:iam::1234567890:role/Spot_Iam_Role\",\n});\n```\n```python\nimport pulumi\nimport pulumi_spotinst as spotinst\n\n# set credential AWS\ncredential = spotinst.aws.Credentials(\"credential\",\n accountid=\"act-123456\",\n iamrole=\"arn:aws:iam::1234567890:role/Spot_Iam_Role\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing SpotInst = Pulumi.SpotInst;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // set credential AWS\n var credential = new SpotInst.Aws.Credentials(\"credential\", new()\n {\n Accountid = \"act-123456\",\n Iamrole = \"arn:aws:iam::1234567890:role/Spot_Iam_Role\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-spotinst/sdk/v3/go/spotinst/aws\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t// set credential AWS\n\t\t_, err := aws.NewCredentials(ctx, \"credential\", \u0026aws.CredentialsArgs{\n\t\t\tAccountid: pulumi.String(\"act-123456\"),\n\t\t\tIamrole: pulumi.String(\"arn:aws:iam::1234567890:role/Spot_Iam_Role\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.spotinst.aws.Credentials;\nimport com.pulumi.spotinst.aws.CredentialsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var credential = new Credentials(\"credential\", CredentialsArgs.builder() \n .accountid(\"act-123456\")\n .iamrole(\"arn:aws:iam::1234567890:role/Spot_Iam_Role\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # set credential AWS\n credential:\n type: spotinst:aws:Credentials\n properties:\n accountid: act-123456\n iamrole: arn:aws:iam::1234567890:role/Spot_Iam_Role\n```\n\u003c!--End PulumiCodeChooser --\u003e\n",
"description": "Provides a Spotinst credential AWS resource.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as spotinst from \"@pulumi/spotinst\";\n\n// set credential AWS\nconst credential = new spotinst.aws.Credentials(\"credential\", {\n accountId: \"act-123456\",\n iamrole: \"arn:aws:iam::1234567890:role/Spot_Iam_Role\",\n});\n```\n```python\nimport pulumi\nimport pulumi_spotinst as spotinst\n\n# set credential AWS\ncredential = spotinst.aws.Credentials(\"credential\",\n account_id=\"act-123456\",\n iamrole=\"arn:aws:iam::1234567890:role/Spot_Iam_Role\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing SpotInst = Pulumi.SpotInst;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // set credential AWS\n var credential = new SpotInst.Aws.Credentials(\"credential\", new()\n {\n AccountId = \"act-123456\",\n Iamrole = \"arn:aws:iam::1234567890:role/Spot_Iam_Role\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-spotinst/sdk/v3/go/spotinst/aws\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t// set credential AWS\n\t\t_, err := aws.NewCredentials(ctx, \"credential\", \u0026aws.CredentialsArgs{\n\t\t\tAccountId: pulumi.String(\"act-123456\"),\n\t\t\tIamrole: pulumi.String(\"arn:aws:iam::1234567890:role/Spot_Iam_Role\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.spotinst.aws.Credentials;\nimport com.pulumi.spotinst.aws.CredentialsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var credential = new Credentials(\"credential\", CredentialsArgs.builder() \n .accountId(\"act-123456\")\n .iamrole(\"arn:aws:iam::1234567890:role/Spot_Iam_Role\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # set credential AWS\n credential:\n type: spotinst:aws:Credentials\n properties:\n accountId: act-123456\n iamrole: arn:aws:iam::1234567890:role/Spot_Iam_Role\n```\n\u003c!--End PulumiCodeChooser --\u003e\n",
"properties": {
"accountId": {
"type": "string"
"type": "string",
"description": "The ID of the account associated with your token.\n"
},
"iamrole": {
"type": "string",
Expand All @@ -9458,6 +9480,7 @@
"inputProperties": {
"accountId": {
"type": "string",
"description": "The ID of the account associated with your token.\n",
"willReplaceOnChanges": true
},
"iamrole": {
Expand All @@ -9475,6 +9498,7 @@
"properties": {
"accountId": {
"type": "string",
"description": "The ID of the account associated with your token.\n",
"willReplaceOnChanges": true
},
"iamrole": {
Expand Down
4 changes: 2 additions & 2 deletions provider/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,8 @@ require (
github.com/spf13/cast v1.5.0 // indirect
github.com/spf13/cobra v1.7.0 // indirect
github.com/spf13/pflag v1.0.5 // indirect
github.com/spotinst/spotinst-sdk-go v1.194.0 // indirect
github.com/stretchr/testify v1.8.4 // indirect
github.com/spotinst/spotinst-sdk-go v1.336.0 // indirect
github.com/stretchr/testify v1.9.0 // indirect
github.com/texttheater/golang-levenshtein v1.0.1 // indirect
github.com/tweekmonster/luser v0.0.0-20161003172636-3fa38070dbd7 // indirect
github.com/uber/jaeger-client-go v2.30.0+incompatible // indirect
Expand Down
10 changes: 6 additions & 4 deletions provider/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -2964,8 +2964,8 @@ 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/spf13/viper v1.4.0/go.mod h1:PTJ7Z/lr49W6bUbkmS1V3by4uWynFiR9p7+dSq/yZzE=
github.com/spf13/viper v1.7.0/go.mod h1:8WkrPz2fc9jxqZNCJI/76HCieCp4Q8HaLFoCha5qpdg=
github.com/spotinst/spotinst-sdk-go v1.194.0 h1:bq76aWyqd6LPA+P2zMv17CEv8xAuLhKY3FSrxLgbP3A=
github.com/spotinst/spotinst-sdk-go v1.194.0/go.mod h1:DP/y998hi551EWIR6t4mbohMMMKjp1IE0K+eJztaFGc=
github.com/spotinst/spotinst-sdk-go v1.336.0 h1:TvgKWDznce2WIAKNktmRgLqfFLlK92SHaTWQd/EGvLk=
github.com/spotinst/spotinst-sdk-go v1.336.0/go.mod h1:cPpdCFZ4K3PWCbZdQB2wxNfEUVuz+KecJCSbqqesoMM=
github.com/stefanberger/go-pkcs11uri v0.0.0-20201008174630-78d3cae3a980/go.mod h1:AO3tvPzVZ/ayst6UlUKUv6rcPQInYe3IknH3jYhAKu8=
github.com/stoewer/go-strcase v1.2.0/go.mod h1:IBiWB2sKIp3wVVQ3Y035++gc+knqhUQag1KpM8ahLw8=
github.com/streadway/amqp v0.0.0-20190404075320-75d898a42a94/go.mod h1:AZpEONHx3DKn8O/DFsRAY58/XVQiIPMTMB1SddzLXVw=
Expand All @@ -2976,8 +2976,9 @@ github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+
github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/objx v0.2.0/go.mod h1:qt09Ya8vawLte6SNmTgCsAVtYtaKzEcn8ATUoHMkEqE=
github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw=
github.com/stretchr/objx v0.5.0 h1:1zr/of2m5FGMsad5YfcqgdqdWrIhu+EBEJRhR1U7z/c=
github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo=
github.com/stretchr/objx v0.5.2 h1:xuMeJ0Sdp5ZMRXx/aWO6RZxdr3beISkG5/G/aIRr3pY=
github.com/stretchr/objx v0.5.2/go.mod h1:FRsXN1f5AsAjCGJKqEizvkpNtU+EGNCLh3NxZ/8L+MA=
github.com/stretchr/testify v0.0.0-20180303142811-b89eecf5ca5d/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
Expand All @@ -2992,8 +2993,9 @@ github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO
github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4=
github.com/stretchr/testify v1.8.2/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4=
github.com/stretchr/testify v1.8.3/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo=
github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk=
github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo=
github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg=
github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
github.com/subosito/gotenv v1.2.0/go.mod h1:N0PQaV/YGNqwC0u51sEeR/aUtSLEXKX9iv69rRypqCw=
github.com/syndtr/gocapability v0.0.0-20170704070218-db04d3cc01c8/go.mod h1:hkRG7XYTFWNJGYcbNJQlaLq0fg1yr4J4t/NcTQtrfww=
github.com/syndtr/gocapability v0.0.0-20180916011248-d98352740cb2/go.mod h1:hkRG7XYTFWNJGYcbNJQlaLq0fg1yr4J4t/NcTQtrfww=
Expand Down
11 changes: 10 additions & 1 deletion sdk/dotnet/Aws/Credentials.cs

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

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

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

12 changes: 12 additions & 0 deletions sdk/dotnet/Aws/Outputs/ManagedInstanceBlockDeviceMappingEbs.cs

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

10 changes: 10 additions & 0 deletions sdk/dotnet/Config/Config.cs

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

6 changes: 6 additions & 0 deletions sdk/dotnet/Provider.cs

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

8 changes: 7 additions & 1 deletion sdk/go/spotinst/aws/credentials.go

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

Loading

0 comments on commit ae7c278

Please sign in to comment.