Skip to content

Commit

Permalink
Upgrade terraform-provider-port-labs to v2.0.15 (#395)
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 5b570b3 commit 555e838
Show file tree
Hide file tree
Showing 8 changed files with 37 additions and 38 deletions.
5 changes: 1 addition & 4 deletions provider/cmd/pulumi-resource-port/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -972,10 +972,7 @@
"description": "The teams the entity belongs to\n"
}
},
"type": "object",
"required": [
"identifier"
]
"type": "object"
},
"port:index/ActionWebhookMethod:ActionWebhookMethod": {
"properties": {
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.14
github.com/port-labs/terraform-provider-port-labs/v2 v2.0.15
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.14 h1:D7+ph9snK4Za6x17+P14aLVR4jCwWw4/kMPbUxwyD+A=
github.com/port-labs/terraform-provider-port-labs/v2 v2.0.14/go.mod h1:BSHSLrih0XL0ZZAfcVeHbu23aJgUDmqhyLe40fGyNIo=
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/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
10 changes: 5 additions & 5 deletions sdk/go/port/pulumiTypes.go

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

2 changes: 1 addition & 1 deletion sdk/nodejs/types/input.ts
Original file line number Diff line number Diff line change
Expand Up @@ -647,7 +647,7 @@ export interface ActionUpsertEntityMethodMapping {
/**
* Required when selecting type Upsert Entity. The entity identifier for the upsert
*/
identifier: pulumi.Input<string>;
identifier?: pulumi.Input<string>;
/**
* The properties of the entity (key-value object encoded to a string)
*/
Expand Down
2 changes: 1 addition & 1 deletion sdk/nodejs/types/output.ts
Original file line number Diff line number Diff line change
Expand Up @@ -647,7 +647,7 @@ export interface ActionUpsertEntityMethodMapping {
/**
* Required when selecting type Upsert Entity. The entity identifier for the upsert
*/
identifier: string;
identifier?: string;
/**
* The properties of the entity (key-value object encoded to a string)
*/
Expand Down
31 changes: 16 additions & 15 deletions sdk/python/port_pulumi/_inputs.py
Original file line number Diff line number Diff line change
Expand Up @@ -2455,40 +2455,29 @@ def title(self, value: Optional[pulumi.Input[str]]):
@pulumi.input_type
class ActionUpsertEntityMethodMappingArgs:
def __init__(__self__, *,
identifier: pulumi.Input[str],
icon: Optional[pulumi.Input[str]] = None,
identifier: Optional[pulumi.Input[str]] = None,
properties: Optional[pulumi.Input[str]] = None,
relations: Optional[pulumi.Input[str]] = None,
teams: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
"""
:param pulumi.Input[str] identifier: Required when selecting type Upsert Entity. The entity identifier for the upsert
:param pulumi.Input[str] icon: The icon of the entity
:param pulumi.Input[str] identifier: Required when selecting type Upsert Entity. The entity identifier for the upsert
:param pulumi.Input[str] properties: The properties of the entity (key-value object encoded to a string)
:param pulumi.Input[str] relations: The relations of the entity (key-value object encoded to a string)
:param pulumi.Input[Sequence[pulumi.Input[str]]] teams: The teams the entity belongs to
"""
pulumi.set(__self__, "identifier", identifier)
if icon is not None:
pulumi.set(__self__, "icon", icon)
if identifier is not None:
pulumi.set(__self__, "identifier", identifier)
if properties is not None:
pulumi.set(__self__, "properties", properties)
if relations is not None:
pulumi.set(__self__, "relations", relations)
if teams is not None:
pulumi.set(__self__, "teams", teams)

@property
@pulumi.getter
def identifier(self) -> pulumi.Input[str]:
"""
Required when selecting type Upsert Entity. The entity identifier for the upsert
"""
return pulumi.get(self, "identifier")

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

@property
@pulumi.getter
def icon(self) -> Optional[pulumi.Input[str]]:
Expand All @@ -2501,6 +2490,18 @@ def icon(self) -> Optional[pulumi.Input[str]]:
def icon(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "icon", value)

@property
@pulumi.getter
def identifier(self) -> Optional[pulumi.Input[str]]:
"""
Required when selecting type Upsert Entity. The entity identifier for the upsert
"""
return pulumi.get(self, "identifier")

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

@property
@pulumi.getter
def properties(self) -> Optional[pulumi.Input[str]]:
Expand Down
19 changes: 10 additions & 9 deletions sdk/python/port_pulumi/outputs.py
Original file line number Diff line number Diff line change
Expand Up @@ -2332,21 +2332,22 @@ def title(self) -> Optional[str]:
@pulumi.output_type
class ActionUpsertEntityMethodMapping(dict):
def __init__(__self__, *,
identifier: str,
icon: Optional[str] = None,
identifier: Optional[str] = None,
properties: Optional[str] = None,
relations: Optional[str] = None,
teams: Optional[Sequence[str]] = None):
"""
:param str identifier: Required when selecting type Upsert Entity. The entity identifier for the upsert
:param str icon: The icon of the entity
:param str identifier: Required when selecting type Upsert Entity. The entity identifier for the upsert
:param str properties: The properties of the entity (key-value object encoded to a string)
:param str relations: The relations of the entity (key-value object encoded to a string)
:param Sequence[str] teams: The teams the entity belongs to
"""
pulumi.set(__self__, "identifier", identifier)
if icon is not None:
pulumi.set(__self__, "icon", icon)
if identifier is not None:
pulumi.set(__self__, "identifier", identifier)
if properties is not None:
pulumi.set(__self__, "properties", properties)
if relations is not None:
Expand All @@ -2356,19 +2357,19 @@ def __init__(__self__, *,

@property
@pulumi.getter
def identifier(self) -> str:
def icon(self) -> Optional[str]:
"""
Required when selecting type Upsert Entity. The entity identifier for the upsert
The icon of the entity
"""
return pulumi.get(self, "identifier")
return pulumi.get(self, "icon")

@property
@pulumi.getter
def icon(self) -> Optional[str]:
def identifier(self) -> Optional[str]:
"""
The icon of the entity
Required when selecting type Upsert Entity. The entity identifier for the upsert
"""
return pulumi.get(self, "icon")
return pulumi.get(self, "identifier")

@property
@pulumi.getter
Expand Down

0 comments on commit 555e838

Please sign in to comment.