While working on https://github.com/pulumi/pulumi-pulumiservice/pull/310, I noticed that we have more resources whose Read methods use GetProperties() method, which returns empty in case of import operation. This will clearly break import, so we need to fix these.
Example
List of all resources that need to be fixed:
AccessToken
AgentPool
EnvironmentVersionTag
Environment
OrgAccessToken
StackTag
TeamAccessToken
Output of pulumi about
Not relevant
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).
What happened?
While working on https://github.com/pulumi/pulumi-pulumiservice/pull/310, I noticed that we have more resources whose Read methods use GetProperties() method, which returns empty in case of import operation. This will clearly break import, so we need to fix these.
Example
List of all resources that need to be fixed:
Output of
pulumi about
Not relevant
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction. To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).