mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
rebasing
This commit is contained in:
parent
ce4c64a2e3
commit
3f03815ada
1 changed files with 8 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue