Skip to content

Commit

Permalink
Merge pull request #50 from pulumi/bridge-v2.7.3
Browse files Browse the repository at this point in the history
Upgrade to pulumi-terraform-bridge v2.7.3
  • Loading branch information
stack72 authored Aug 31, 2020
2 parents d6469e5 + 696e47c commit 21c0059
Show file tree
Hide file tree
Showing 70 changed files with 690 additions and 684 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ CHANGELOG
=========

## HEAD (Unreleased)
* Upgrade to pulumi-terraform-bridge v2.7.0
* Upgrade to pulumi-terraform-bridge v2.7.3
* Upgrade to Pulumi v2.9.0, which adds type annotations and input/output classes to Python

---
Expand Down
4 changes: 2 additions & 2 deletions provider/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ replace (
require (
github.com/hashicorp/terraform-plugin-sdk v1.7.0
github.com/mrparkers/terraform-provider-keycloak v0.0.0-00010101000000-000000000000
github.com/pulumi/pulumi-terraform-bridge/v2 v2.7.2
github.com/pulumi/pulumi/sdk/v2 v2.9.1-0.20200821035132-629254334213
github.com/pulumi/pulumi-terraform-bridge/v2 v2.7.3
github.com/pulumi/pulumi/sdk/v2 v2.9.1-0.20200825190708-910aa96016cd
)
6 changes: 6 additions & 0 deletions provider/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -493,6 +493,8 @@ github.com/pulumi/pulumi-terraform-bridge/v2 v2.5.2 h1:2fZdQQ1uO1D7J1O8D5ytsaPwz
github.com/pulumi/pulumi-terraform-bridge/v2 v2.5.2/go.mod h1:lxWrXLYAMbse0AJeY570Iy2KYI3uUwNg6JOUZ6U7M+Q=
github.com/pulumi/pulumi-terraform-bridge/v2 v2.7.2 h1:ZgBUEz1zPN1p8el+YDXoRlOPSPcBz8ytfZH6Ncj/PN4=
github.com/pulumi/pulumi-terraform-bridge/v2 v2.7.2/go.mod h1:UvbLRW8+YFluKwRZjzP3coPYWQPPYh/q9e2NN2GPbxg=
github.com/pulumi/pulumi-terraform-bridge/v2 v2.7.3 h1:XZxl0fsf9vO45FM+tKPYE9f30fM+q2s6lHsEzkdnBNs=
github.com/pulumi/pulumi-terraform-bridge/v2 v2.7.3/go.mod h1:TW+CNCZHzlH42y0vmRA9gOzeTFh3Cp7MN9DoGcRDLvo=
github.com/pulumi/pulumi/pkg/v2 v2.0.0/go.mod h1:kNG9MBTdKP9AzMgkETumR3fmX9gUYB+HpQL767K6jXc=
github.com/pulumi/pulumi/pkg/v2 v2.2.2-0.20200519081838-f66100ce28b0/go.mod h1:GV88eCIrqfFcBWd5QUdN3qMsR0h+x+iRIBnBhhvB78A=
github.com/pulumi/pulumi/pkg/v2 v2.3.1-0.20200607162109-9754465b04db h1:5HrO1GNA53QEp+yN1UCX7BUsJD2I5/k1u2KLO4hOxOA=
Expand All @@ -502,6 +504,8 @@ github.com/pulumi/pulumi/pkg/v2 v2.5.1-0.20200630091945-bb358c4d2173 h1:7nc8B91a
github.com/pulumi/pulumi/pkg/v2 v2.5.1-0.20200630091945-bb358c4d2173/go.mod h1:zfUm4/GH2dVRlHZ3Yeb9bRweCQM7icVBdplu6MUDRrQ=
github.com/pulumi/pulumi/pkg/v2 v2.9.1-0.20200821035132-629254334213 h1:c8UQ842Zg6XzX4sPeGhBo8hiGFzoU23vaMmxk64V8eU=
github.com/pulumi/pulumi/pkg/v2 v2.9.1-0.20200821035132-629254334213/go.mod h1:Yq1q3nwy/KeU08DyyX0QsMyc6SqPs0jGJb8ev5f45AU=
github.com/pulumi/pulumi/pkg/v2 v2.9.1-0.20200825190708-910aa96016cd h1:e4nK2jqLm6g7qMW0BInHR3ZM55y1NblvgOlkfNGT2F4=
github.com/pulumi/pulumi/pkg/v2 v2.9.1-0.20200825190708-910aa96016cd/go.mod h1:Yq1q3nwy/KeU08DyyX0QsMyc6SqPs0jGJb8ev5f45AU=
github.com/pulumi/pulumi/sdk/v2 v2.0.0 h1:3VMXbEo3bqeaU+YDt8ufVBLD0WhLYE3tG3t/nIZ3Iac=
github.com/pulumi/pulumi/sdk/v2 v2.0.0/go.mod h1:W7k1UDYerc5o97mHnlHHp5iQZKEby+oQrQefWt+2RF4=
github.com/pulumi/pulumi/sdk/v2 v2.2.2-0.20200519081838-f66100ce28b0/go.mod h1:QNbWpL4gvf3X0lUFT7TXA2Jo1ff/Ti2l97AyFGYwvW4=
Expand All @@ -513,6 +517,8 @@ github.com/pulumi/pulumi/sdk/v2 v2.5.1-0.20200630091945-bb358c4d2173 h1:tKAYUvIW
github.com/pulumi/pulumi/sdk/v2 v2.5.1-0.20200630091945-bb358c4d2173/go.mod h1:llk6tmXss8kJrt3vEXAkwiwgZOuINEFmKIfMveVIwO8=
github.com/pulumi/pulumi/sdk/v2 v2.9.1-0.20200821035132-629254334213 h1:h4hBtS6/S0a1deLtJuUuYAIZGOCIJY9OVSdmC4VRk+M=
github.com/pulumi/pulumi/sdk/v2 v2.9.1-0.20200821035132-629254334213/go.mod h1:x84WPiFiuE+G4kJ5jUYkOxmnQJlWoJaHNeEYdqnCKA4=
github.com/pulumi/pulumi/sdk/v2 v2.9.1-0.20200825190708-910aa96016cd h1:m5jEWpbr/Q94vCqA/7fw5US7cHZLeQiMQXrnSblZzdU=
github.com/pulumi/pulumi/sdk/v2 v2.9.1-0.20200825190708-910aa96016cd/go.mod h1:x84WPiFiuE+G4kJ5jUYkOxmnQJlWoJaHNeEYdqnCKA4=
github.com/pulumi/terraform-provider-keycloak v0.0.0-20200605161740-baa6f31d03ac h1:pLGO0M01tr5fy+NO4yiQNKvoo7Z3L68SvnUwAszQKZM=
github.com/pulumi/terraform-provider-keycloak v0.0.0-20200605161740-baa6f31d03ac/go.mod h1:IOzgVXiG7SfPsRV2Acb8D9UeMevV9yALFml2evTtd5U=
github.com/pulumi/terraform-provider-keycloak v0.0.0-20200721130934-bdd42b2aa767 h1:zKxnqf3TEZ11sR47R/3/OqYzGmwi+xmAtGR/KyIfnhk=
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

class AttributeImporterIdentityProviderMapper(pulumi.CustomResource):
def __init__(__self__,
resource_name,
resource_name: str,
opts: Optional[pulumi.ResourceOptions] = None,
attribute_friendly_name: Optional[pulumi.Input[str]] = None,
attribute_name: Optional[pulumi.Input[str]] = None,
Expand Down Expand Up @@ -146,60 +146,60 @@ def get(resource_name: str,

@property
@pulumi.getter(name="attributeFriendlyName")
def attribute_friendly_name(self) -> Optional[str]:
def attribute_friendly_name(self) -> pulumi.Output[Optional[str]]:
"""
Attribute Friendly Name
"""
return pulumi.get(self, "attribute_friendly_name")

@property
@pulumi.getter(name="attributeName")
def attribute_name(self) -> Optional[str]:
def attribute_name(self) -> pulumi.Output[Optional[str]]:
"""
Attribute Name
"""
return pulumi.get(self, "attribute_name")

@property
@pulumi.getter(name="claimName")
def claim_name(self) -> Optional[str]:
def claim_name(self) -> pulumi.Output[Optional[str]]:
"""
Claim Name
"""
return pulumi.get(self, "claim_name")

@property
@pulumi.getter(name="extraConfig")
def extra_config(self) -> Optional[Mapping[str, Any]]:
def extra_config(self) -> pulumi.Output[Optional[Mapping[str, Any]]]:
return pulumi.get(self, "extra_config")

@property
@pulumi.getter(name="identityProviderAlias")
def identity_provider_alias(self) -> str:
def identity_provider_alias(self) -> pulumi.Output[str]:
"""
IDP Alias
"""
return pulumi.get(self, "identity_provider_alias")

@property
@pulumi.getter
def name(self) -> str:
def name(self) -> pulumi.Output[str]:
"""
IDP Mapper Name
"""
return pulumi.get(self, "name")

@property
@pulumi.getter
def realm(self) -> str:
def realm(self) -> pulumi.Output[str]:
"""
Realm Name
"""
return pulumi.get(self, "realm")

@property
@pulumi.getter(name="userAttribute")
def user_attribute(self) -> str:
def user_attribute(self) -> pulumi.Output[str]:
"""
User Attribute
"""
Expand Down
22 changes: 11 additions & 11 deletions sdk/python/pulumi_keycloak/attribute_to_role_identity_mapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

class AttributeToRoleIdentityMapper(pulumi.CustomResource):
def __init__(__self__,
resource_name,
resource_name: str,
opts: Optional[pulumi.ResourceOptions] = None,
attribute_friendly_name: Optional[pulumi.Input[str]] = None,
attribute_name: Optional[pulumi.Input[str]] = None,
Expand Down Expand Up @@ -130,76 +130,76 @@ def get(resource_name: str,

@property
@pulumi.getter(name="attributeFriendlyName")
def attribute_friendly_name(self) -> Optional[str]:
def attribute_friendly_name(self) -> pulumi.Output[Optional[str]]:
"""
Attribute Friendly Name
"""
return pulumi.get(self, "attribute_friendly_name")

@property
@pulumi.getter(name="attributeName")
def attribute_name(self) -> Optional[str]:
def attribute_name(self) -> pulumi.Output[Optional[str]]:
"""
Attribute Name
"""
return pulumi.get(self, "attribute_name")

@property
@pulumi.getter(name="attributeValue")
def attribute_value(self) -> Optional[str]:
def attribute_value(self) -> pulumi.Output[Optional[str]]:
"""
Attribute Value
"""
return pulumi.get(self, "attribute_value")

@property
@pulumi.getter(name="claimName")
def claim_name(self) -> Optional[str]:
def claim_name(self) -> pulumi.Output[Optional[str]]:
"""
OIDC Claim Name
"""
return pulumi.get(self, "claim_name")

@property
@pulumi.getter(name="claimValue")
def claim_value(self) -> Optional[str]:
def claim_value(self) -> pulumi.Output[Optional[str]]:
"""
OIDC Claim Value
"""
return pulumi.get(self, "claim_value")

@property
@pulumi.getter(name="extraConfig")
def extra_config(self) -> Optional[Mapping[str, Any]]:
def extra_config(self) -> pulumi.Output[Optional[Mapping[str, Any]]]:
return pulumi.get(self, "extra_config")

@property
@pulumi.getter(name="identityProviderAlias")
def identity_provider_alias(self) -> str:
def identity_provider_alias(self) -> pulumi.Output[str]:
"""
IDP Alias
"""
return pulumi.get(self, "identity_provider_alias")

@property
@pulumi.getter
def name(self) -> str:
def name(self) -> pulumi.Output[str]:
"""
IDP Mapper Name
"""
return pulumi.get(self, "name")

@property
@pulumi.getter
def realm(self) -> str:
def realm(self) -> pulumi.Output[str]:
"""
Realm Name
"""
return pulumi.get(self, "realm")

@property
@pulumi.getter
def role(self) -> str:
def role(self) -> pulumi.Output[str]:
"""
Role Name
"""
Expand Down
10 changes: 5 additions & 5 deletions sdk/python/pulumi_keycloak/authentication/execution.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

class Execution(pulumi.CustomResource):
def __init__(__self__,
resource_name,
resource_name: str,
opts: Optional[pulumi.ResourceOptions] = None,
authenticator: Optional[pulumi.Input[str]] = None,
parent_flow_alias: Optional[pulumi.Input[str]] = None,
Expand Down Expand Up @@ -88,22 +88,22 @@ def get(resource_name: str,

@property
@pulumi.getter
def authenticator(self) -> str:
def authenticator(self) -> pulumi.Output[str]:
return pulumi.get(self, "authenticator")

@property
@pulumi.getter(name="parentFlowAlias")
def parent_flow_alias(self) -> str:
def parent_flow_alias(self) -> pulumi.Output[str]:
return pulumi.get(self, "parent_flow_alias")

@property
@pulumi.getter(name="realmId")
def realm_id(self) -> str:
def realm_id(self) -> pulumi.Output[str]:
return pulumi.get(self, "realm_id")

@property
@pulumi.getter
def requirement(self) -> Optional[str]:
def requirement(self) -> pulumi.Output[Optional[str]]:
return pulumi.get(self, "requirement")

def translate_output_property(self, prop):
Expand Down
10 changes: 5 additions & 5 deletions sdk/python/pulumi_keycloak/authentication/execution_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

class ExecutionConfig(pulumi.CustomResource):
def __init__(__self__,
resource_name,
resource_name: str,
opts: Optional[pulumi.ResourceOptions] = None,
alias: Optional[pulumi.Input[str]] = None,
config: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
Expand Down Expand Up @@ -90,22 +90,22 @@ def get(resource_name: str,

@property
@pulumi.getter
def alias(self) -> str:
def alias(self) -> pulumi.Output[str]:
return pulumi.get(self, "alias")

@property
@pulumi.getter
def config(self) -> Mapping[str, str]:
def config(self) -> pulumi.Output[Mapping[str, str]]:
return pulumi.get(self, "config")

@property
@pulumi.getter(name="executionId")
def execution_id(self) -> str:
def execution_id(self) -> pulumi.Output[str]:
return pulumi.get(self, "execution_id")

@property
@pulumi.getter(name="realmId")
def realm_id(self) -> str:
def realm_id(self) -> pulumi.Output[str]:
return pulumi.get(self, "realm_id")

def translate_output_property(self, prop):
Expand Down
10 changes: 5 additions & 5 deletions sdk/python/pulumi_keycloak/authentication/flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

class Flow(pulumi.CustomResource):
def __init__(__self__,
resource_name,
resource_name: str,
opts: Optional[pulumi.ResourceOptions] = None,
alias: Optional[pulumi.Input[str]] = None,
description: Optional[pulumi.Input[str]] = None,
Expand Down Expand Up @@ -86,22 +86,22 @@ def get(resource_name: str,

@property
@pulumi.getter
def alias(self) -> str:
def alias(self) -> pulumi.Output[str]:
return pulumi.get(self, "alias")

@property
@pulumi.getter
def description(self) -> Optional[str]:
def description(self) -> pulumi.Output[Optional[str]]:
return pulumi.get(self, "description")

@property
@pulumi.getter(name="providerId")
def provider_id(self) -> Optional[str]:
def provider_id(self) -> pulumi.Output[Optional[str]]:
return pulumi.get(self, "provider_id")

@property
@pulumi.getter(name="realmId")
def realm_id(self) -> str:
def realm_id(self) -> pulumi.Output[str]:
return pulumi.get(self, "realm_id")

def translate_output_property(self, prop):
Expand Down
16 changes: 8 additions & 8 deletions sdk/python/pulumi_keycloak/authentication/subflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

class Subflow(pulumi.CustomResource):
def __init__(__self__,
resource_name,
resource_name: str,
opts: Optional[pulumi.ResourceOptions] = None,
alias: Optional[pulumi.Input[str]] = None,
authenticator: Optional[pulumi.Input[str]] = None,
Expand Down Expand Up @@ -102,40 +102,40 @@ def get(resource_name: str,

@property
@pulumi.getter
def alias(self) -> str:
def alias(self) -> pulumi.Output[str]:
return pulumi.get(self, "alias")

@property
@pulumi.getter
def authenticator(self) -> Optional[str]:
def authenticator(self) -> pulumi.Output[Optional[str]]:
"""
Might be needed to be set with certain custom subflow with specific authenticator, in general this will remain empty
"""
return pulumi.get(self, "authenticator")

@property
@pulumi.getter
def description(self) -> Optional[str]:
def description(self) -> pulumi.Output[Optional[str]]:
return pulumi.get(self, "description")

@property
@pulumi.getter(name="parentFlowAlias")
def parent_flow_alias(self) -> str:
def parent_flow_alias(self) -> pulumi.Output[str]:
return pulumi.get(self, "parent_flow_alias")

@property
@pulumi.getter(name="providerId")
def provider_id(self) -> Optional[str]:
def provider_id(self) -> pulumi.Output[Optional[str]]:
return pulumi.get(self, "provider_id")

@property
@pulumi.getter(name="realmId")
def realm_id(self) -> str:
def realm_id(self) -> pulumi.Output[str]:
return pulumi.get(self, "realm_id")

@property
@pulumi.getter
def requirement(self) -> Optional[str]:
def requirement(self) -> pulumi.Output[Optional[str]]:
return pulumi.get(self, "requirement")

def translate_output_property(self, prop):
Expand Down
Loading

0 comments on commit 21c0059

Please sign in to comment.