make rds handle vpc security groups properly
This commit is contained in:
parent
866090efb1
commit
b9c602ea83
1 changed files with 4 additions and 1 deletions
|
@ -438,7 +438,10 @@ def main():
|
|||
params["iops"] = iops
|
||||
|
||||
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:
|
||||
if command == 'create':
|
||||
|
|
Loading…
Reference in a new issue