mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-03 01:03:09 +00:00
Closes #27487
This commit is contained in:
committed by
Ryan Brown
parent
e2f907ae3e
commit
1e42e1e04c
@@ -324,6 +324,9 @@ def create_changeset(module, stack_params, cfn):
|
||||
|
||||
changeset_name = 'Ansible-' + stack_params['StackName'] + '-' + sha1(to_bytes(json_params, errors='surrogate_or_strict')).hexdigest()
|
||||
stack_params['ChangeSetName'] = changeset_name
|
||||
else:
|
||||
changeset_name = stack_params['ChangeSetName']
|
||||
|
||||
# Determine if this changeset already exists
|
||||
pending_changesets = list_changesets(cfn, stack_params['StackName'])
|
||||
if changeset_name in pending_changesets:
|
||||
|
||||
Reference in New Issue
Block a user