https://pulumi.com logo
Title
c

cool-vr-43155

03/01/2023, 11:55 AM
Hello community, I've imported some cloud resources using
pulumi import
with yaml runtime, then I've created and applied
kind: Program
and
kind: Stack
with the generated yaml. Pulumi kubernetes operator is trying to re-create the resources instead of detecting it from the provided s3 state. Pulumi kubernetes operator log:
AlreadyExists: AutoScalingGroup by this name already exists
The security group 'some-sg' already exists for VPC 'vpc-some-id'
"Cluster already exists with name: some-eks-cluster-name"
ResourceAlreadyExistsException: The specified log group already exists
m

many-architect-10944

03/01/2023, 12:02 PM
use pulumi refresh to update the stack state
c

cool-vr-43155

03/01/2023, 12:07 PM
yeah already did, after using pulumi import I've executed pulumi refresh
found the issue,
kind: Program
's name and the project name inside
Pulumi.yaml
should be the same