https://pulumi.com logo
#general
Title
# general
l

limited-rainbow-51650

08/15/2019, 8:22 PM
While developing my AWS RDS setup, I forgot a few attributes so it created an Aurora MySQL cluster. I updated the setup to include the Postgres specific and ran
pulumi up
again. But the wrong cluster is not replaced by the correct cluster:
Copy code
Previewing update (production):

     Type                 Name                         Plan        Info
     pulumi:pulumi:Stack  infra-02-storage-production              
 +-  └─ aws:rds:Cluster   safeimage-rds-cluster        replace     [diff: ~dbClusterParameterGroupName,engine]
 
Resources:
    +-1 to replace
    4 unchanged

Do you want to perform this update? yes
Updating (production):

     Type                 Name                         Status                   Info
     pulumi:pulumi:Stack  infra-02-storage-production  **failed**               1 error
 +-  └─ aws:rds:Cluster   safeimage-rds-cluster        **replacing failed**     [diff: ~dbClusterParameterGroupName,engine]; 1 error
 
Diagnostics:
  pulumi:pulumi:Stack (infra-02-storage-production):
    error: update failed
 
  aws:rds:Cluster (safeimage-rds-cluster):
    error: Plan apply failed: error creating RDS cluster: DBClusterAlreadyExistsFault: DB Cluster already exists
        status code: 400, request id: fa019735-d4a7-4ad1-a887-e6fc4c64f761
 
Resources:
    4 unchanged