the parameter group was created when pulumi
# python
the parameter group was created when pulumi
Did you change the logical name of the resource in your Pulumi code? This would cause Pulumi to think it needs to create a new one and delete the old one. (the logical name is how Pulumi tracks identity across deployments)
That is
aws.rds.ParameterGroup(logicalName, { name: physicalName })
hmm i have code in python module and did not change resource name
i do + “paramater group”
let me look at details
What does your preview show?
Copy code
pulumi:pulumi:Stack: (same)
        + aws:rds/parameterGroup:ParameterGroup: (create)
            description: "Managed by Pulumi"
            family     : "postgres9.6"
            name       : "testdevapprdsparameters"
            parameters : [
                [0]: {
                    applyMethod: "pending-reboot"
                    name       : "rds.force_ssl"
                    value      : "0"
Copy code
- aws:rds/parameterGroup:ParameterGroup: (delete)
        --aws:ecs/taskDefinition:TaskDefinition: (delete-replaced)
    - aws:rds/parameterGroup:ParameterGroup: (delete)
let me check the name in the ui
Yeah - it looks like you are changing the URN from: •
Are you moving it inside a component?
Pulumi thinks these are two unrelated resources since their URNs are different - so creates the latter and deletes the former. You can use
to tell Pulumi these are two different names for the same thing.
kk i will take a look
Thank you this helped
Copy code
Provides a list of aliases for a resource or component. When making a breaking change to the name or type of a resource or component, you can add the old name to the list of aliases for a resource to ensure that existing resources will be migrated to the new name instead of being deleted and replaced with the new named resource.
This is also probably why new congnito pool was getting created when i was adding new attributes to existing congnito user pool