Skip to content

Commit

Permalink
chore(amplify-provider-awscloudformation): reduce log level (aws-ampl…
Browse files Browse the repository at this point in the history
…ify#7864)

since cfn-lint is deprecated, it does not always proper validate cloudformation. we've made validation errors non-blocking already in [aws-amplify#7132](aws-amplify#7132). This commit also addresses the log level so as not to confuse customers with a red error message.

aws-amplify#7831
  • Loading branch information
johnpc authored and akshbhu committed Aug 15, 2021
1 parent af0c4e0 commit 25651e0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,7 @@ function validateCfnTemplates(context: $TSContext, resourcesToBeUpdated: $TSAny[
try {
validateFile(filePath);
} catch (err) {
context.print.error(`Invalid CloudFormation template: ${filePath}${EOL}${err.message}`);
context.print.warning(`Invalid CloudFormation template: ${filePath}${EOL}${err.message}`);
}
}
}
Expand Down

0 comments on commit 25651e0

Please sign in to comment.