aws postgres rds using ansible

问题描述:

我试图在AWS RDS上使用ansible部署一个postgres数据库。但是,我碰到与数据库的大小问题,我指定为20 GB(最大为*层),​​如果我通过仪表盘手动创建数据库aws postgres rds using ansible

"msg": "Failed to create instance: Storage size for Engine Name: postgres and Storage Type: io1 must be between 100 and 6144. Currently specified storage size is 20" 

,一切工作正常。任何不能通过命令行工具工作的原因?

+0

只是好奇,我的答案是否解决问题? – Berlin

您使用的是RDS预置IOPS吗?如果是的话,应该是iops: 100

AWS - 置备IOPS卷的大小范围可以从100 GB到6 TB为 MySQL和MariaDB的,PostgreSQL的

Ansible - IOPS - 指定IOPS数量的实例。仅在 command = create或command = modify时使用。必须是大于 1000的整数。