pulumi Errors
6 error patterns
pulumi3 fixes
Pulumi resource already exists outside stack
pulumi.*error:.*update failed.*resource.*already exists
- •Use pulumi import to bring existing resource under management
- •Set import option on the resource: { import: 'existing-id' }
pulumi3 fixes
Pulumi stack locked by another update
pulumi.*error:.*stack.*is being updated by another process
- •Wait for the other operation to complete
- •Use 'pulumi cancel' to cancel the stuck operation
pulumi3 fixes
Pulumi secrets provider access denied
pulumi.*error:.*secret.*provider.*denied
- •Verify KMS/Vault credentials are configured correctly
- •Check IAM permissions for the encryption key
pulumi3 fixes
Pulumi preview shows unexpected resource diff
pulumi.*error:.*preview.*failed.*unexpected diff
- •Run 'pulumi refresh' to sync state with actual cloud resources
- •Check for drift caused by manual changes outside Pulumi
pulumi3 fixes
Pulumi create fails - resource needs import
pulumi.*error:.*failed to create.*already exists.*import
- •Add import: 'resource-id' to the resource options
- •Use 'pulumi import <type> <name> <id>' CLI command
pulumi3 fixes
Pulumi targeted update requires resource replacement
pulumi.*error:.*plan.*contains.*replacement.*--target
- •Include dependent resources in --target list
- •Run without --target to allow full dependency resolution