diff --git a/samcli/lib/providers/cfn_api_provider.py b/samcli/lib/providers/cfn_api_provider.py index 93e2915276..ca2531362a 100644 --- a/samcli/lib/providers/cfn_api_provider.py +++ b/samcli/lib/providers/cfn_api_provider.py @@ -522,7 +522,7 @@ def _extract_cfn_gateway_v2_stage( api_resource_type = resources.get(api_id, {}).get("Type") if api_resource_type != AWS_APIGATEWAY_V2_API: raise InvalidSamTemplateException( - "The AWS::ApiGatewayV2::Stag must have a valid ApiId that points to Api resource {}".format(api_id) + "The AWS::ApiGatewayV2::Stage must have a valid ApiId that points to Api resource {}".format(api_id) ) collector.stage_name = stage_name