Skip to content

Commit 1399f7a

Browse files
author
Connor Robertson
authored
fix: integration test cors_with_apikey_and_cors (#3021)
1 parent c5690d5 commit 1399f7a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

integration/resources/templates/combination/api_with_cors_and_apikey.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ Resources:
6262
credentials:
6363
Fn::Sub: ${ApiGatewayLambdaRole.Arn}
6464
uri:
65-
Fn::Sub: arn:aws:apigateway:${AWS::Region}:lambda:path/2015-03-31/functions/${MyFunction.Arn}/invocations
65+
Fn::Sub: arn:${AWS::Partition}:apigateway:${AWS::Region}:lambda:path/2015-03-31/functions/${MyFunction.Arn}/invocations
6666
passthroughBehavior: when_no_match
6767
httpMethod: POST
6868
type: aws_proxy
@@ -72,7 +72,7 @@ Resources:
7272
credentials:
7373
Fn::Sub: ${ApiGatewayLambdaRole.Arn}
7474
uri:
75-
Fn::Sub: arn:aws:apigateway:${AWS::Region}:lambda:path/2015-03-31/functions/${MyFunction.Arn}/invocations
75+
Fn::Sub: arn:${AWS::Partition}:apigateway:${AWS::Region}:lambda:path/2015-03-31/functions/${MyFunction.Arn}/invocations
7676
passthroughBehavior: when_no_match
7777
httpMethod: POST
7878
type: aws_proxy

0 commit comments

Comments
 (0)