Skip to content

Commit

Permalink
chore(amplify-provider-awscloudformation): reduce log level (#7864)
Browse files Browse the repository at this point in the history
since cfn-lint is deprecated, it does not always proper validate cloudformation. we've made validation errors non-blocking already in [#7132](#7132). This commit also addresses the log level so as not to confuse customers with a red error message.

#7831
  • Loading branch information
johnpc authored Aug 3, 2021
1 parent 12ff663 commit 3b0e6c7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,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 3b0e6c7

Please sign in to comment.