Skip to content

Commit

Permalink
fix(providers): typo
Browse files Browse the repository at this point in the history
  • Loading branch information
tinti authored Jul 17, 2023
1 parent c81d729 commit 7bb228b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samcli/lib/providers/cfn_api_provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7bb228b

Please sign in to comment.