mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
Merge pull request #27633 from rallytime/bp-27559
Back-port #27559 to 2015.8
This commit is contained in:
commit
888e9bdf5d
@ -367,7 +367,14 @@ def present(
|
||||
'''
|
||||
ret = {'name': name, 'result': True, 'comment': '', 'changes': {}}
|
||||
if vpc_zone_identifier:
|
||||
vpc_id = __salt__['boto_vpc.get_subnet_association'](vpc_zone_identifier, region, key, keyid, profile)
|
||||
vpc_id = __salt__['boto_vpc.get_subnet_association'](
|
||||
vpc_zone_identifier,
|
||||
region,
|
||||
key,
|
||||
keyid,
|
||||
profile
|
||||
)
|
||||
vpc_id = vpc_id.get('vpc_id')
|
||||
log.debug('Auto Scaling Group {0} is associated with VPC ID {1}'
|
||||
.format(name, vpc_id))
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user