Skip to content

Commit 9adef68

Browse files
committed
Resolved some issues that lint found.
1 parent 2b63f2c commit 9adef68

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

Monitoring/ingest_nas_audit_logs_into_cloudwatch/cloudformation-template.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff 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')

0 commit comments

Comments
 (0)