cloud/amazon/aws_config_recorder: add empty resourceTypes list if undefined (#50286)

pull/57333/head
Aaron Smith 6 years ago committed by Jill R
parent 858e3a7272
commit 333f54ec3b

@ -184,6 +184,10 @@ def main():
params['recordingGroup'].update({
'resourceTypes': module.params.get('recording_group').get('resource_types')
})
else:
params['recordingGroup'].update({
'resourceTypes': []
})
client = module.client('config', retry_decorator=AWSRetry.jittered_backoff())

Loading…
Cancel
Save