File tree Expand file tree Collapse file tree
Monitoring/ingest_nas_audit_logs_into_cloudwatch Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -634,7 +634,6 @@ Resources:
634634 f.write(part.content)
635635 else:
636636 print(f'Warning: API call to {endpoint} failed. HTTP status code: {response.status}.')
637- filed = True
638637 break
639638
640639 f.close()
@@ -842,7 +841,7 @@ Resources:
842841 try:
843842 response = s3Client.get_object(Bucket=config['s3BucketName'], Key=config['fsxnSecretARNsFile'])
844843 except botocore.exceptions.ClientError as err:
845- raise Exception(f"Unable to open parameter file with secrets '{fsxnSecretARNsFile}' from S3 bucket '{s3BucketName}': {err}")
844+ raise Exception(f"Unable to open parameter file with secrets '{config[' fsxnSecretARNsFile'] }' from S3 bucket '{config[' s3BucketName'] }': {err}")
846845 else:
847846 for line in response['Body'].iter_lines():
848847 line = line.decode('utf-8')
You can’t perform that action at this time.
0 commit comments