Why I use pulumi to update RDS on AWS , Always get...
# general
o
Why I use pulumi to update RDS on AWS , Always get this error
Copy code
Diagnostics:
  aws:rds:Instance (rds-iot-stage-portal):
    error: 1 error occurred:
        * updating urn:pulumi:stage::1::aws:rds/instance:Instance::xxxx: 1 error occurred:
        * updating RDS DB Instance (xx-xx-xxx-xxx): creating Blue/Green Deployment: operation error RDS: CreateBlueGreenDeployment, https response error StatusCode: 400, RequestID: ca7d4ff5-b918-4a20-9999-d01b111xxx311, BlueGreenDeploymentAlreadyExistsFault: A Blue Green Deployment with the name 'xxxx' already exists
and this is my pulumi code
Copy code
mysql_rds_server = aws.rds.Instance(
        name,
        tags=tags,
        engine="mysql",
        username="xxxx",
        password="xxxx",
        instance_class="db.r5.xlarge",
        allocated_storage=20,
        skip_final_snapshot=True,
        publicly_accessible=True,
        db_subnet_group_name=subnetgroup.id,
        storage_encrypted=True,
        vpc_security_group_ids=[sg.id],
        backup_retention_period=7,
        backup_window="16:30-17:30",  
        copy_tags_to_snapshot=True,
        blue_green_update=aws.rds.InstanceBlueGreenUpdateArgs(enabled=True),
    )