pulumi: Import leads to fields that cannot be set or are required but missing

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Reactions: 8
  • Comments: 15 (7 by maintainers)

Most upvoted comments

What is the status on these? Experiencing this with AWS EC2 Key Pair import.

like you said, the resource is managed by the classic pulumi azure and not native

If you import into the type azure:core/resourceGroup:ResourceGroup, that will use the azure provider, which is the Azure Classic provider. You can use azure-native:resources:ResourceGroup to import into the azure-native provider. (The first part of the type name is that Pulumi Package name that manages the resource).