make rds handle vpc security groups properly

This commit is contained in:
James Pharaoh 2013-09-02 20:38:06 +02:00
parent 866090efb1
commit b9c602ea83

View file

@ -438,7 +438,10 @@ def main():
params["iops"] = iops params["iops"] = iops
if security_groups: if security_groups:
params["security_groups"] = security_groups.split(',') if subnet:
params["vpc_security_groups"] = security_groups.split(',')
else:
params["security_groups"] = security_groups.split(',')
try: try:
if command == 'create': if command == 'create':