Skip to content

Commit

Permalink
Upgrade terraform-provider-port-labs to v1.8.0 (#175)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tankilevitch authored Jan 8, 2024
1 parent bff3b6f commit f99dc37
Show file tree
Hide file tree
Showing 9 changed files with 124 additions and 57 deletions.
2 changes: 1 addition & 1 deletion .pulumi-java-gen.version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.9.8
0.9.9
1 change: 1 addition & 0 deletions provider/cmd/pulumi-resource-port/bridge-metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@
"kafkaMethod": "kafka_method",
"orderProperties": "order_properties",
"requiredApproval": "required_approval",
"requiredJqQuery": "required_jq_query",
"userProperties": "user_properties",
"webhookMethod": "webhook_method"
},
Expand Down
72 changes: 31 additions & 41 deletions provider/cmd/pulumi-resource-port/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,18 @@
"org",
"repo",
"workflow"
]
],
"language": {
"nodejs": {
"requiredOutputs": [
"omitPayload",
"omitUserInputs",
"org",
"repo",
"workflow"
]
}
}
},
"port:index/ActionGitlabMethod:ActionGitlabMethod": {
"properties": {
Expand Down Expand Up @@ -163,6 +174,8 @@
"requiredOutputs": [
"agent",
"groupName",
"omitPayload",
"omitUserInputs",
"projectName"
]
}
Expand Down Expand Up @@ -323,14 +336,7 @@
"type": "string"
}
},
"type": "object",
"language": {
"nodejs": {
"requiredOutputs": [
"required"
]
}
}
"type": "object"
},
"port:index/ActionUserPropertiesArrayPropsBooleanItems:ActionUserPropertiesArrayPropsBooleanItems": {
"properties": {
Expand Down Expand Up @@ -489,14 +495,7 @@
"type": "string"
}
},
"type": "object",
"language": {
"nodejs": {
"requiredOutputs": [
"required"
]
}
}
"type": "object"
},
"port:index/ActionUserPropertiesBooleanPropsDataset:ActionUserPropertiesBooleanPropsDataset": {
"properties": {
Expand Down Expand Up @@ -599,14 +598,7 @@
"type": "string"
}
},
"type": "object",
"language": {
"nodejs": {
"requiredOutputs": [
"required"
]
}
}
"type": "object"
},
"port:index/ActionUserPropertiesNumberPropsDataset:ActionUserPropertiesNumberPropsDataset": {
"properties": {
Expand Down Expand Up @@ -697,14 +689,7 @@
"type": "string"
}
},
"type": "object",
"language": {
"nodejs": {
"requiredOutputs": [
"required"
]
}
}
"type": "object"
},
"port:index/ActionUserPropertiesObjectPropsDataset:ActionUserPropertiesObjectPropsDataset": {
"properties": {
Expand Down Expand Up @@ -819,14 +804,7 @@
"type": "string"
}
},
"type": "object",
"language": {
"nodejs": {
"requiredOutputs": [
"required"
]
}
}
"type": "object"
},
"port:index/ActionUserPropertiesStringPropsDataset:ActionUserPropertiesStringPropsDataset": {
"properties": {
Expand Down Expand Up @@ -1628,6 +1606,10 @@
"type": "boolean",
"description": "Require approval before invoking the action\n"
},
"requiredJqQuery": {
"type": "string",
"description": "The required jq query of the property\n"
},
"title": {
"type": "string",
"description": "Title\n"
Expand Down Expand Up @@ -1703,6 +1685,10 @@
"type": "boolean",
"description": "Require approval before invoking the action\n"
},
"requiredJqQuery": {
"type": "string",
"description": "The required jq query of the property\n"
},
"title": {
"type": "string",
"description": "Title\n"
Expand Down Expand Up @@ -1780,6 +1766,10 @@
"type": "boolean",
"description": "Require approval before invoking the action\n"
},
"requiredJqQuery": {
"type": "string",
"description": "The required jq query of the property\n"
},
"title": {
"type": "string",
"description": "Title\n"
Expand Down
4 changes: 2 additions & 2 deletions provider/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ go 1.20
replace github.com/hashicorp/terraform-plugin-sdk/v2 => github.com/pulumi/terraform-plugin-sdk/v2 v2.0.0-20230912190043-e6d96b3b8f7e

require (
github.com/port-labs/terraform-provider-port-labs v1.7.1
github.com/pulumi/pulumi-terraform-bridge/pf v0.22.0
github.com/port-labs/terraform-provider-port-labs v1.8.0
github.com/pulumi/pulumi-terraform-bridge/pf v0.23.0
github.com/pulumi/pulumi-terraform-bridge/v3 v3.70.0
github.com/pulumi/pulumi/sdk/v3 v3.100.0
)
Expand Down
8 changes: 4 additions & 4 deletions provider/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1582,8 +1582,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 v1.7.1 h1:3Sjf+TV6070jn1HMilk41CpL56u35QRFhXDUjuQ5its=
github.com/port-labs/terraform-provider-port-labs v1.7.1/go.mod h1:pLn48/X30XZIrW3gvUM1rkVjAZkO7ZFjegc0x4hFdtc=
github.com/port-labs/terraform-provider-port-labs v1.8.0 h1:yeOWW7E6MQN8rpfcFC+x959DimVDO/dTObLj0nyL2fI=
github.com/port-labs/terraform-provider-port-labs v1.8.0/go.mod h1:pLn48/X30XZIrW3gvUM1rkVjAZkO7ZFjegc0x4hFdtc=
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 Expand Up @@ -1650,8 +1650,8 @@ github.com/pulumi/esc v0.6.2 h1:+z+l8cuwIauLSwXQS0uoI3rqB+YG4SzsZYtHfNoXBvw=
github.com/pulumi/esc v0.6.2/go.mod h1:jNnYNjzsOgVTjCp0LL24NsCk8ZJxq4IoLQdCT0X7l8k=
github.com/pulumi/pulumi-java/pkg v0.9.8 h1:c8mYsalnRXA2Ibgvv6scefOn6mW1Vb0UT0mcDqjsivQ=
github.com/pulumi/pulumi-java/pkg v0.9.8/go.mod h1:c6rSw/+q4O0IImgJ9axxoC6QesbPYWBaG5gimbHouUQ=
github.com/pulumi/pulumi-terraform-bridge/pf v0.22.0 h1:sgQslsC7PqYh3Flxk3bZhXc3DNLiYUmxUTBogR0l46w=
github.com/pulumi/pulumi-terraform-bridge/pf v0.22.0/go.mod h1:ejVXJ1pqYjapUPzl+3ERcw2CQzQvqir6bgfUVJH14P8=
github.com/pulumi/pulumi-terraform-bridge/pf v0.23.0 h1:j0rOtgpeGn2ZfyEVJtg5QhCEQEiMgz0rmFO6qWUFLzA=
github.com/pulumi/pulumi-terraform-bridge/pf v0.23.0/go.mod h1:V9uoQlm7O+B9m9y2f7BE5tvG+BGVjWzLN1tlrRLHUEE=
github.com/pulumi/pulumi-terraform-bridge/testing v0.0.1 h1:SCg1gjfY9N4yn8U8peIUYATifjoDABkyR7H9lmefsfc=
github.com/pulumi/pulumi-terraform-bridge/v3 v3.70.0 h1:+o0c2gUjZURORGNftW4dEOm/E4rzh2JnK+z9PAwLjbE=
github.com/pulumi/pulumi-terraform-bridge/v3 v3.70.0/go.mod h1:jcdXdda230ZJJjzeRwWuFPRzq1EI8APwYVQIH32MoRk=
Expand Down
15 changes: 15 additions & 0 deletions sdk/go/port/action.go

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

14 changes: 14 additions & 0 deletions sdk/nodejs/action.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,10 @@ export class Action extends pulumi.CustomResource {
* Require approval before invoking the action
*/
public readonly requiredApproval!: pulumi.Output<boolean | undefined>;
/**
* The required jq query of the property
*/
public readonly requiredJqQuery!: pulumi.Output<string | undefined>;
/**
* Title
*/
Expand Down Expand Up @@ -124,6 +128,7 @@ export class Action extends pulumi.CustomResource {
resourceInputs["kafkaMethod"] = state ? state.kafkaMethod : undefined;
resourceInputs["orderProperties"] = state ? state.orderProperties : undefined;
resourceInputs["requiredApproval"] = state ? state.requiredApproval : undefined;
resourceInputs["requiredJqQuery"] = state ? state.requiredJqQuery : undefined;
resourceInputs["title"] = state ? state.title : undefined;
resourceInputs["trigger"] = state ? state.trigger : undefined;
resourceInputs["userProperties"] = state ? state.userProperties : undefined;
Expand Down Expand Up @@ -154,6 +159,7 @@ export class Action extends pulumi.CustomResource {
resourceInputs["kafkaMethod"] = args ? args.kafkaMethod : undefined;
resourceInputs["orderProperties"] = args ? args.orderProperties : undefined;
resourceInputs["requiredApproval"] = args ? args.requiredApproval : undefined;
resourceInputs["requiredJqQuery"] = args ? args.requiredJqQuery : undefined;
resourceInputs["title"] = args ? args.title : undefined;
resourceInputs["trigger"] = args ? args.trigger : undefined;
resourceInputs["userProperties"] = args ? args.userProperties : undefined;
Expand Down Expand Up @@ -216,6 +222,10 @@ export interface ActionState {
* Require approval before invoking the action
*/
requiredApproval?: pulumi.Input<boolean>;
/**
* The required jq query of the property
*/
requiredJqQuery?: pulumi.Input<string>;
/**
* Title
*/
Expand Down Expand Up @@ -286,6 +296,10 @@ export interface ActionArgs {
* Require approval before invoking the action
*/
requiredApproval?: pulumi.Input<boolean>;
/**
* The required jq query of the property
*/
requiredJqQuery?: pulumi.Input<string>;
/**
* Title
*/
Expand Down
18 changes: 9 additions & 9 deletions sdk/nodejs/types/output.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ export interface ActionAzureMethod {
}

export interface ActionGithubMethod {
omitPayload?: boolean;
omitUserInputs?: boolean;
omitPayload: boolean;
omitUserInputs: boolean;
org: string;
repo: string;
reportWorkflowStatus?: boolean;
Expand All @@ -30,8 +30,8 @@ export interface ActionGitlabMethod {
agent: boolean;
defaultRef?: string;
groupName: string;
omitPayload?: boolean;
omitUserInputs?: boolean;
omitPayload: boolean;
omitUserInputs: boolean;
projectName: string;
}

Expand Down Expand Up @@ -77,7 +77,7 @@ export interface ActionUserPropertiesArrayProps {
minItems?: number;
numberItems?: outputs.ActionUserPropertiesArrayPropsNumberItems;
objectItems?: outputs.ActionUserPropertiesArrayPropsObjectItems;
required: boolean;
required?: boolean;
stringItems?: outputs.ActionUserPropertiesArrayPropsStringItems;
title?: string;
visible?: boolean;
Expand Down Expand Up @@ -129,7 +129,7 @@ export interface ActionUserPropertiesBooleanProps {
dependsOns?: string[];
description?: string;
icon?: string;
required: boolean;
required?: boolean;
title?: string;
visible?: boolean;
visibleJqQuery?: string;
Expand Down Expand Up @@ -162,7 +162,7 @@ export interface ActionUserPropertiesNumberProps {
icon?: string;
maximum?: number;
minimum?: number;
required: boolean;
required?: boolean;
title?: string;
visible?: boolean;
visibleJqQuery?: string;
Expand Down Expand Up @@ -192,7 +192,7 @@ export interface ActionUserPropertiesObjectProps {
description?: string;
encryption?: string;
icon?: string;
required: boolean;
required?: boolean;
title?: string;
visible?: boolean;
visibleJqQuery?: string;
Expand Down Expand Up @@ -229,7 +229,7 @@ export interface ActionUserPropertiesStringProps {
maxLength?: number;
minLength?: number;
pattern?: string;
required: boolean;
required?: boolean;
title?: string;
visible?: boolean;
visibleJqQuery?: string;
Expand Down
Loading

0 comments on commit f99dc37

Please sign in to comment.