Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#237 - fix: Inject user connection name attribute to allow resource i…
…mport (#456) Fixes #237 I'm unsure why the path commits were modified to `0000000000000000000000000000000000000000`, I guess I must have made a mistake somewhere. here are the steps I followed: ``` - make upstream - make upstream.rebase - I made the changes to upstream/internal/auth0/user/flatten.go and upstream/internal/auth0/user/resource.go then created a new git commit - make upstream.finalize ``` I generated a build of the plugin and the python SDK and tested this change locally and I can confirm that the connectionName is properly imported and does not generate a change anymore before the patch: ```text warning: inputs to import do not match the existing resource; importing this resource will fail = auth0:index/user:User: (import) [id=auth0|65b3cf64d3feda60bbc6bd01] [urn=urn:pulumi:dev::test-pulumi-auth0::auth0:index/user:User::this] [provider=urn:pulumi:dev::test-pulumi-auth0::pulumi:providers:auth0::this::04da6b54-80e4-46f7-96ec-b56ff0331ba9] + connectionName: "c63b249c-47ce-4c26-a2c6-20dd9101af86-LocalUserDatabase" ``` with the patch ```text = auth0:index/user:User: (import) [id=auth0|65b3cf64d3feda60bbc6bd01] [urn=urn:pulumi:dev::test-pulumi-auth0::auth0:index/user:User::this] [provider=urn:pulumi:dev::test-pulumi-auth0::pulumi:providers:auth0::this::04da6b54-80e4-46f7-96ec-b56ff0331ba9] connectionName: "c63b249c-47ce-4c26-a2c6-20dd9101af86-LocalUserDatabase" email : "me@example.com" name : "Administrator" nickname : "administrator" picture : "https://s.gravatar.com/avatar/b3a263843d9b28612b381b3a01e4543c?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fla.png" userId : "auth0|65b3cf64d3feda60bbc6bd01" ```
- Loading branch information