mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
[AWS] cloudfront_distribution - fix method name from 'validate_distribution_id_from_caller_reference' to 'validate_distribution_from_caller_reference' and set distribution_id to the distribution's key 'Id' (#45498)
This commit is contained in:
parent
5785de582f
commit
e5269c047c
1 changed files with 1 additions and 1 deletions
|
@ -1813,7 +1813,7 @@ class CloudFrontValidationManager(object):
|
||||||
|
|
||||||
def wait_until_processed(self, client, wait_timeout, distribution_id, caller_reference):
|
def wait_until_processed(self, client, wait_timeout, distribution_id, caller_reference):
|
||||||
if distribution_id is None:
|
if distribution_id is None:
|
||||||
distribution_id = self.validate_distribution_id_from_caller_reference(caller_reference=caller_reference)
|
distribution_id = self.validate_distribution_from_caller_reference(caller_reference=caller_reference)['Id']
|
||||||
|
|
||||||
try:
|
try:
|
||||||
waiter = client.get_waiter('distribution_deployed')
|
waiter = client.get_waiter('distribution_deployed')
|
||||||
|
|
Loading…
Reference in a new issue