我想使用Boto3为rds实例启用multi-az功能,但是使用脚本无法完成此操作,我也更新了rds实例的策略,但仍未更新,我正在使用以下脚本。
modified_rds_attributes = rds_conn_boto3.modify_db_instance(DBInstanceIdentifier=id, MultiAZ=True).
According to the RDS API docs , this change will not occur until the next maintenance window unless you specify the ApplyImmediately
parameter. So, this:
rds_conn_boto3.modify_db_instance(DBInstanceIdentifier=id, MultiAZ=True, ApplyImmediately=True)
Should cause the change to happen immediately.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.