You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue is now closed. Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
The
CorsConfiguration
forAWS::Serverless::Api
includes the following properties:The
HttpApiCorsConfiguration
forAWS::Serverless::HttpApi
includes these properties:If you switch from a REST API to HTTP API and retain the same CORS configuration, you will get an error from this line of code:
Invalid value for 'Cors' property.
This is a difficult error to figure out. I ended up having to read the source code.
If the property name can't be changed, it would at least be helpful to include the name of the invalid property in the error message as a clue.
The text was updated successfully, but these errors were encountered: