pulumi: Import leads to fields that cannot be set or are required but missing
We have seen several cases where pulumi import leads to either this field cannot be set or Missing required property errors - for example:
- https://github.com/pulumi/pulumi/issues/6432
- https://github.com/pulumi/pulumi-pagerduty/issues/52
- https://github.com/pulumi/pulumi-azuredevops/issues/56
- https://github.com/pulumi/pulumi-gcp/issues/591
- https://github.com/pulumi/pulumi/issues/7884
- https://github.com/pulumi/pulumi/issues/7978
- https://github.com/pulumi/pulumi/issues/8326
- https://github.com/pulumi/pulumi/issues/8335
This is most likely a deeper issue with pulumi import that we will need to address.
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Reactions: 8
- Comments: 15 (7 by maintainers)
What is the status on these? Experiencing this with AWS EC2 Key Pair import.
If you import into the type
azure:core/resourceGroup:ResourceGroup, that will use theazureprovider, which is the Azure Classic provider. You can useazure-native:resources:ResourceGroupto import into theazure-nativeprovider. (The first part of the type name is that Pulumi Package name that manages the resource).