Merge pull request #4650 from jbradberry/tower-instance-group-absent

Fix a typo in checking the 'absent' state for the tower_instance_group module
This commit is contained in:
Ryan Petrello
2020-10-28 14:38:01 -04:00
committed by GitHub

View File

@@ -111,7 +111,7 @@ def main():
# Attempt to look up an existing item based on the provided data
existing_item = module.get_one('instance_groups', name_or_id=name)
if state is 'absent':
if state == 'absent':
# If the state was absent we can let the module delete it if needed, the module will handle exiting from this
module.delete_if_needed(existing_item)