Skip to content

Commit

Permalink
Merge pull request #9 from newrelic/label-changes
Browse files Browse the repository at this point in the history
fixing error message
  • Loading branch information
hrai-nr authored Dec 6, 2024
2 parents bf2f745 + 77129ee commit ad086ef
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lambda-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -477,8 +477,7 @@ Resources:
if invalid_log_groups:
response['UserInputCloudwatchErrorMessages'] = (
'Validation Failed for Input Provided. These Log Groups: [{}] do not exist in your account.'
'Please setup Cloudwatch to Data Firehose subscription manually for additional log groups including these failed ones to stream with the resource Logical ID: "LoggingFirehoseStreamToNewRelic".'
'While setting up the subscription manuually you can use the IAM role with resource Logical ID: "CloudWatchFirehoseRole" created by this deployment.'.format(','.join(invalid_log_groups))
'Please setup Cloudwatch to Lambda Event Trigger subscription manually for additional log groups including these failed ones to send logs to new relic.'.format(','.join(invalid_log_groups))
)
cfnresponse.send(event, context, cfnresponse.SUCCESS, response)
Expand Down

0 comments on commit ad086ef

Please sign in to comment.