Skip to content

Commit

Permalink
Upgrade terraform-provider-port-labs to v2.0.23 (#447)
Browse files Browse the repository at this point in the history
* make tfgen

* make build_sdks

---------

Co-authored-by: pulumi-port-bot <getport.io>
  • Loading branch information
portmachineuser authored Oct 1, 2024
1 parent 887828e commit d86f070
Show file tree
Hide file tree
Showing 11 changed files with 304 additions and 22 deletions.
33 changes: 30 additions & 3 deletions provider/cmd/pulumi-resource-port/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -473,6 +473,13 @@
"type": "string",
"description": "The required jq query of the property\n"
},
"steps": {
"type": "array",
"items": {
"$ref": "#/types/port:index/ActionSelfServiceTriggerStep:ActionSelfServiceTriggerStep"
},
"description": "The steps of the action\n"
},
"userProperties": {
"$ref": "#/types/port:index/ActionSelfServiceTriggerUserProperties:ActionSelfServiceTriggerUserProperties",
"description": "User properties\n"
Expand All @@ -491,6 +498,26 @@
}
}
},
"port:index/ActionSelfServiceTriggerStep:ActionSelfServiceTriggerStep": {
"properties": {
"orders": {
"type": "array",
"items": {
"type": "string"
},
"description": "The order of the properties in this step\n"
},
"title": {
"type": "string",
"description": "The step's title\n"
}
},
"type": "object",
"required": [
"orders",
"title"
]
},
"port:index/ActionSelfServiceTriggerUserProperties:ActionSelfServiceTriggerUserProperties": {
"properties": {
"arrayProps": {
Expand Down Expand Up @@ -2773,7 +2800,7 @@
},
"selfServiceTrigger": {
"$ref": "#/types/port:index/ActionSelfServiceTrigger:ActionSelfServiceTrigger",
"description": "Self service trigger for the action\n"
"description": "Self service trigger for the action. Note: you can define only one of `order_properties` and `steps`\n"
},
"title": {
"type": "string",
Expand Down Expand Up @@ -2848,7 +2875,7 @@
},
"selfServiceTrigger": {
"$ref": "#/types/port:index/ActionSelfServiceTrigger:ActionSelfServiceTrigger",
"description": "Self service trigger for the action\n"
"description": "Self service trigger for the action. Note: you can define only one of `order_properties` and `steps`\n"
},
"title": {
"type": "string",
Expand Down Expand Up @@ -2924,7 +2951,7 @@
},
"selfServiceTrigger": {
"$ref": "#/types/port:index/ActionSelfServiceTrigger:ActionSelfServiceTrigger",
"description": "Self service trigger for the action\n"
"description": "Self service trigger for the action. Note: you can define only one of `order_properties` and `steps`\n"
},
"title": {
"type": "string",
Expand Down
2 changes: 1 addition & 1 deletion provider/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ toolchain go1.22.7
replace github.com/hashicorp/terraform-plugin-sdk/v2 => github.com/pulumi/terraform-plugin-sdk/v2 v2.0.0-20240520223432-0c0bf0d65f10

require (
github.com/port-labs/terraform-provider-port-labs/v2 v2.0.22
github.com/port-labs/terraform-provider-port-labs/v2 v2.0.23
github.com/pulumi/pulumi-terraform-bridge/pf v0.44.1
github.com/pulumi/pulumi-terraform-bridge/v3 v3.91.1
github.com/pulumi/pulumi/sdk/v3 v3.133.0
Expand Down
4 changes: 2 additions & 2 deletions provider/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -733,8 +733,8 @@ github.com/pkg/term v1.1.0 h1:xIAAdCMh3QIAy+5FrE8Ad8XoDhEU4ufwbaSozViP9kk=
github.com/pkg/term v1.1.0/go.mod h1:E25nymQcrSllhX42Ok8MRm1+hyBdHY0dCeiKZ9jpNGw=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/port-labs/terraform-provider-port-labs/v2 v2.0.22 h1:kHzXG8sOUNKs3htiuAn40Je+Ap1vmi5LA0fBsKW3sCA=
github.com/port-labs/terraform-provider-port-labs/v2 v2.0.22/go.mod h1:QHx0GQmWTWS1gCmQfABR9MZspf/j0cLYSkbiidUsux0=
github.com/port-labs/terraform-provider-port-labs/v2 v2.0.23 h1:MfiN3RLC6MBsWL8GihL68Q5jKwwjomOTHUKRaLVk12E=
github.com/port-labs/terraform-provider-port-labs/v2 v2.0.23/go.mod h1:QHx0GQmWTWS1gCmQfABR9MZspf/j0cLYSkbiidUsux0=
github.com/posener/complete v1.1.1/go.mod h1:em0nMJCgc9GFtwrmVmEMR/ZL6WyhyjMBndrE9hABlRI=
github.com/posener/complete v1.2.3 h1:NP0eAhjcjImqslEwo/1hq7gpajME0fTLTezBKDqfXqo=
github.com/posener/complete v1.2.3/go.mod h1:WZIdtGGp+qx0sLrYKtIRAruyNpv6hFCicSgv7Sy7s/s=
Expand Down
12 changes: 6 additions & 6 deletions sdk/go/port/action.go

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

129 changes: 129 additions & 0 deletions sdk/go/port/pulumiTypes.go

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

6 changes: 3 additions & 3 deletions sdk/nodejs/action.ts
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ export class Action extends pulumi.CustomResource {
*/
public readonly requiredApproval!: pulumi.Output<string | undefined>;
/**
* Self service trigger for the action
* Self service trigger for the action. Note: you can define only one of `orderProperties` and `steps`
*/
public readonly selfServiceTrigger!: pulumi.Output<outputs.ActionSelfServiceTrigger | undefined>;
/**
Expand Down Expand Up @@ -339,7 +339,7 @@ export interface ActionState {
*/
requiredApproval?: pulumi.Input<string>;
/**
* Self service trigger for the action
* Self service trigger for the action. Note: you can define only one of `orderProperties` and `steps`
*/
selfServiceTrigger?: pulumi.Input<inputs.ActionSelfServiceTrigger>;
/**
Expand Down Expand Up @@ -415,7 +415,7 @@ export interface ActionArgs {
*/
requiredApproval?: pulumi.Input<string>;
/**
* Self service trigger for the action
* Self service trigger for the action. Note: you can define only one of `orderProperties` and `steps`
*/
selfServiceTrigger?: pulumi.Input<inputs.ActionSelfServiceTrigger>;
/**
Expand Down
15 changes: 15 additions & 0 deletions sdk/nodejs/types/input.ts
Original file line number Diff line number Diff line change
Expand Up @@ -267,12 +267,27 @@ export interface ActionSelfServiceTrigger {
* The required jq query of the property
*/
requiredJqQuery?: pulumi.Input<string>;
/**
* The steps of the action
*/
steps?: pulumi.Input<pulumi.Input<inputs.ActionSelfServiceTriggerStep>[]>;
/**
* User properties
*/
userProperties?: pulumi.Input<inputs.ActionSelfServiceTriggerUserProperties>;
}

export interface ActionSelfServiceTriggerStep {
/**
* The order of the properties in this step
*/
orders: pulumi.Input<pulumi.Input<string>[]>;
/**
* The step's title
*/
title: pulumi.Input<string>;
}

export interface ActionSelfServiceTriggerUserProperties {
/**
* The array property of the action
Expand Down
Loading

0 comments on commit d86f070

Please sign in to comment.