Skip to content

Commit

Permalink
Upgrade terraform-provider-port-labs to v2.0.16 (#396)
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 Aug 5, 2024
1 parent 555e838 commit 7e46136
Show file tree
Hide file tree
Showing 6 changed files with 45 additions and 45 deletions.
12 changes: 6 additions & 6 deletions provider/cmd/pulumi-resource-port/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -2660,8 +2660,8 @@
"description": "Publish action\n"
},
"requiredApproval": {
"type": "boolean",
"description": "Require approval before invoking the action\n"
"type": "string",
"description": "Require approval before invoking the action. Can be one of \"true\", \"false\", \"ANY\" or \"ALL\"\n"
},
"selfServiceTrigger": {
"$ref": "#/types/port:index/ActionSelfServiceTrigger:ActionSelfServiceTrigger",
Expand Down Expand Up @@ -2735,8 +2735,8 @@
"description": "Publish action\n"
},
"requiredApproval": {
"type": "boolean",
"description": "Require approval before invoking the action\n"
"type": "string",
"description": "Require approval before invoking the action. Can be one of \"true\", \"false\", \"ANY\" or \"ALL\"\n"
},
"selfServiceTrigger": {
"$ref": "#/types/port:index/ActionSelfServiceTrigger:ActionSelfServiceTrigger",
Expand Down Expand Up @@ -2811,8 +2811,8 @@
"description": "Publish action\n"
},
"requiredApproval": {
"type": "boolean",
"description": "Require approval before invoking the action\n"
"type": "string",
"description": "Require approval before invoking the action. Can be one of \"true\", \"false\", \"ANY\" or \"ALL\"\n"
},
"selfServiceTrigger": {
"$ref": "#/types/port:index/ActionSelfServiceTrigger:ActionSelfServiceTrigger",
Expand Down
2 changes: 1 addition & 1 deletion provider/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.21.12
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.15
github.com/port-labs/terraform-provider-port-labs/v2 v2.0.16
github.com/pulumi/pulumi-terraform-bridge/pf v0.40.0
github.com/pulumi/pulumi-terraform-bridge/v3 v3.87.0
github.com/pulumi/pulumi/sdk/v3 v3.125.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.15 h1:L+Gw+NnyjaPiSMBU6qP40FZY07Uns0Ay7Zng5fLZERI=
github.com/port-labs/terraform-provider-port-labs/v2 v2.0.15/go.mod h1:BSHSLrih0XL0ZZAfcVeHbu23aJgUDmqhyLe40fGyNIo=
github.com/port-labs/terraform-provider-port-labs/v2 v2.0.16 h1:RuE6I8vFZNBd6H3r1eEmy3mfGsr5OHXWeQMiWYJxdGI=
github.com/port-labs/terraform-provider-port-labs/v2 v2.0.16/go.mod h1:BSHSLrih0XL0ZZAfcVeHbu23aJgUDmqhyLe40fGyNIo=
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
26 changes: 13 additions & 13 deletions sdk/go/port/action.go

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

12 changes: 6 additions & 6 deletions sdk/nodejs/action.ts
Original file line number Diff line number Diff line change
Expand Up @@ -194,9 +194,9 @@ export class Action extends pulumi.CustomResource {
*/
public readonly publish!: pulumi.Output<boolean>;
/**
* Require approval before invoking the action
* Require approval before invoking the action. Can be one of "true", "false", "ANY" or "ALL"
*/
public readonly requiredApproval!: pulumi.Output<boolean | undefined>;
public readonly requiredApproval!: pulumi.Output<string | undefined>;
/**
* Self service trigger for the action
*/
Expand Down Expand Up @@ -327,9 +327,9 @@ export interface ActionState {
*/
publish?: pulumi.Input<boolean>;
/**
* Require approval before invoking the action
* Require approval before invoking the action. Can be one of "true", "false", "ANY" or "ALL"
*/
requiredApproval?: pulumi.Input<boolean>;
requiredApproval?: pulumi.Input<string>;
/**
* Self service trigger for the action
*/
Expand Down Expand Up @@ -403,9 +403,9 @@ export interface ActionArgs {
*/
publish?: pulumi.Input<boolean>;
/**
* Require approval before invoking the action
* Require approval before invoking the action. Can be one of "true", "false", "ANY" or "ALL"
*/
requiredApproval?: pulumi.Input<boolean>;
requiredApproval?: pulumi.Input<string>;
/**
* Self service trigger for the action
*/
Expand Down
34 changes: 17 additions & 17 deletions sdk/python/port_pulumi/action.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def __init__(__self__, *,
icon: Optional[pulumi.Input[str]] = None,
kafka_method: Optional[pulumi.Input['ActionKafkaMethodArgs']] = None,
publish: Optional[pulumi.Input[bool]] = None,
required_approval: Optional[pulumi.Input[bool]] = None,
required_approval: Optional[pulumi.Input[str]] = None,
self_service_trigger: Optional[pulumi.Input['ActionSelfServiceTriggerArgs']] = None,
title: Optional[pulumi.Input[str]] = None,
upsert_entity_method: Optional[pulumi.Input['ActionUpsertEntityMethodArgs']] = None,
Expand All @@ -47,7 +47,7 @@ def __init__(__self__, *,
:param pulumi.Input[str] icon: Icon
:param pulumi.Input['ActionKafkaMethodArgs'] kafka_method: Kafka invocation method
:param pulumi.Input[bool] publish: Publish action
:param pulumi.Input[bool] required_approval: Require approval before invoking the action
:param pulumi.Input[str] required_approval: Require approval before invoking the action. Can be one of "true", "false", "ANY" or "ALL"
:param pulumi.Input['ActionSelfServiceTriggerArgs'] self_service_trigger: Self service trigger for the action
:param pulumi.Input[str] title: Title
:param pulumi.Input['ActionUpsertEntityMethodArgs'] upsert_entity_method: Upsert Entity invocation method
Expand Down Expand Up @@ -237,14 +237,14 @@ def publish(self, value: Optional[pulumi.Input[bool]]):

@property
@pulumi.getter(name="requiredApproval")
def required_approval(self) -> Optional[pulumi.Input[bool]]:
def required_approval(self) -> Optional[pulumi.Input[str]]:
"""
Require approval before invoking the action
Require approval before invoking the action. Can be one of "true", "false", "ANY" or "ALL"
"""
return pulumi.get(self, "required_approval")

@required_approval.setter
def required_approval(self, value: Optional[pulumi.Input[bool]]):
def required_approval(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "required_approval", value)

@property
Expand Down Expand Up @@ -311,7 +311,7 @@ def __init__(__self__, *,
identifier: Optional[pulumi.Input[str]] = None,
kafka_method: Optional[pulumi.Input['ActionKafkaMethodArgs']] = None,
publish: Optional[pulumi.Input[bool]] = None,
required_approval: Optional[pulumi.Input[bool]] = None,
required_approval: Optional[pulumi.Input[str]] = None,
self_service_trigger: Optional[pulumi.Input['ActionSelfServiceTriggerArgs']] = None,
title: Optional[pulumi.Input[str]] = None,
upsert_entity_method: Optional[pulumi.Input['ActionUpsertEntityMethodArgs']] = None,
Expand All @@ -330,7 +330,7 @@ def __init__(__self__, *,
:param pulumi.Input[str] identifier: Identifier
:param pulumi.Input['ActionKafkaMethodArgs'] kafka_method: Kafka invocation method
:param pulumi.Input[bool] publish: Publish action
:param pulumi.Input[bool] required_approval: Require approval before invoking the action
:param pulumi.Input[str] required_approval: Require approval before invoking the action. Can be one of "true", "false", "ANY" or "ALL"
:param pulumi.Input['ActionSelfServiceTriggerArgs'] self_service_trigger: Self service trigger for the action
:param pulumi.Input[str] title: Title
:param pulumi.Input['ActionUpsertEntityMethodArgs'] upsert_entity_method: Upsert Entity invocation method
Expand Down Expand Up @@ -521,14 +521,14 @@ def publish(self, value: Optional[pulumi.Input[bool]]):

@property
@pulumi.getter(name="requiredApproval")
def required_approval(self) -> Optional[pulumi.Input[bool]]:
def required_approval(self) -> Optional[pulumi.Input[str]]:
"""
Require approval before invoking the action
Require approval before invoking the action. Can be one of "true", "false", "ANY" or "ALL"
"""
return pulumi.get(self, "required_approval")

@required_approval.setter
def required_approval(self, value: Optional[pulumi.Input[bool]]):
def required_approval(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "required_approval", value)

@property
Expand Down Expand Up @@ -597,7 +597,7 @@ def __init__(__self__,
identifier: Optional[pulumi.Input[str]] = None,
kafka_method: Optional[pulumi.Input[pulumi.InputType['ActionKafkaMethodArgs']]] = None,
publish: Optional[pulumi.Input[bool]] = None,
required_approval: Optional[pulumi.Input[bool]] = None,
required_approval: Optional[pulumi.Input[str]] = None,
self_service_trigger: Optional[pulumi.Input[pulumi.InputType['ActionSelfServiceTriggerArgs']]] = None,
title: Optional[pulumi.Input[str]] = None,
upsert_entity_method: Optional[pulumi.Input[pulumi.InputType['ActionUpsertEntityMethodArgs']]] = None,
Expand Down Expand Up @@ -726,7 +726,7 @@ def __init__(__self__,
:param pulumi.Input[str] identifier: Identifier
:param pulumi.Input[pulumi.InputType['ActionKafkaMethodArgs']] kafka_method: Kafka invocation method
:param pulumi.Input[bool] publish: Publish action
:param pulumi.Input[bool] required_approval: Require approval before invoking the action
:param pulumi.Input[str] required_approval: Require approval before invoking the action. Can be one of "true", "false", "ANY" or "ALL"
:param pulumi.Input[pulumi.InputType['ActionSelfServiceTriggerArgs']] self_service_trigger: Self service trigger for the action
:param pulumi.Input[str] title: Title
:param pulumi.Input[pulumi.InputType['ActionUpsertEntityMethodArgs']] upsert_entity_method: Upsert Entity invocation method
Expand Down Expand Up @@ -874,7 +874,7 @@ def _internal_init(__self__,
identifier: Optional[pulumi.Input[str]] = None,
kafka_method: Optional[pulumi.Input[pulumi.InputType['ActionKafkaMethodArgs']]] = None,
publish: Optional[pulumi.Input[bool]] = None,
required_approval: Optional[pulumi.Input[bool]] = None,
required_approval: Optional[pulumi.Input[str]] = None,
self_service_trigger: Optional[pulumi.Input[pulumi.InputType['ActionSelfServiceTriggerArgs']]] = None,
title: Optional[pulumi.Input[str]] = None,
upsert_entity_method: Optional[pulumi.Input[pulumi.InputType['ActionUpsertEntityMethodArgs']]] = None,
Expand Down Expand Up @@ -929,7 +929,7 @@ def get(resource_name: str,
identifier: Optional[pulumi.Input[str]] = None,
kafka_method: Optional[pulumi.Input[pulumi.InputType['ActionKafkaMethodArgs']]] = None,
publish: Optional[pulumi.Input[bool]] = None,
required_approval: Optional[pulumi.Input[bool]] = None,
required_approval: Optional[pulumi.Input[str]] = None,
self_service_trigger: Optional[pulumi.Input[pulumi.InputType['ActionSelfServiceTriggerArgs']]] = None,
title: Optional[pulumi.Input[str]] = None,
upsert_entity_method: Optional[pulumi.Input[pulumi.InputType['ActionUpsertEntityMethodArgs']]] = None,
Expand All @@ -953,7 +953,7 @@ def get(resource_name: str,
:param pulumi.Input[str] identifier: Identifier
:param pulumi.Input[pulumi.InputType['ActionKafkaMethodArgs']] kafka_method: Kafka invocation method
:param pulumi.Input[bool] publish: Publish action
:param pulumi.Input[bool] required_approval: Require approval before invoking the action
:param pulumi.Input[str] required_approval: Require approval before invoking the action. Can be one of "true", "false", "ANY" or "ALL"
:param pulumi.Input[pulumi.InputType['ActionSelfServiceTriggerArgs']] self_service_trigger: Self service trigger for the action
:param pulumi.Input[str] title: Title
:param pulumi.Input[pulumi.InputType['ActionUpsertEntityMethodArgs']] upsert_entity_method: Upsert Entity invocation method
Expand Down Expand Up @@ -1081,9 +1081,9 @@ def publish(self) -> pulumi.Output[bool]:

@property
@pulumi.getter(name="requiredApproval")
def required_approval(self) -> pulumi.Output[Optional[bool]]:
def required_approval(self) -> pulumi.Output[Optional[str]]:
"""
Require approval before invoking the action
Require approval before invoking the action. Can be one of "true", "false", "ANY" or "ALL"
"""
return pulumi.get(self, "required_approval")

Expand Down

0 comments on commit 7e46136

Please sign in to comment.