@@ -69,7 +69,7 @@ describe('#compileMethodsToEventBridge()', () => {
6969 Type : 'AWS' ,
7070 Credentials : { 'Fn::GetAtt' : [ 'ApigatewayToEventBridgeRole' , 'Arn' ] } ,
7171 Uri : {
72- 'Fn::Sub' : 'arn:aws :apigateway:${AWS::Region}:events:action/PutEvents'
72+ 'Fn::Sub' : 'arn:${AWS::Partition} :apigateway:${AWS::Region}:events:action/PutEvents'
7373 } ,
7474 PassthroughBehavior : 'NEVER' ,
7575 RequestParameters : {
@@ -189,7 +189,7 @@ describe('#compileMethodsToEventBridge()', () => {
189189 Type : 'AWS' ,
190190 Credentials : { 'Fn::GetAtt' : [ 'ApigatewayToEventBridgeRole' , 'Arn' ] } ,
191191 Uri : {
192- 'Fn::Sub' : 'arn:aws :apigateway:${AWS::Region}:events:action/PutEvents'
192+ 'Fn::Sub' : 'arn:${AWS::Partition} :apigateway:${AWS::Region}:events:action/PutEvents'
193193 } ,
194194 PassthroughBehavior : 'NEVER' ,
195195 RequestParameters : {
@@ -308,7 +308,7 @@ describe('#compileMethodsToEventBridge()', () => {
308308 Type : 'AWS' ,
309309 Credentials : { 'Fn::GetAtt' : [ 'ApigatewayToEventBridgeRole' , 'Arn' ] } ,
310310 Uri : {
311- 'Fn::Sub' : 'arn:aws :apigateway:${AWS::Region}:events:action/PutEvents'
311+ 'Fn::Sub' : 'arn:${AWS::Partition} :apigateway:${AWS::Region}:events:action/PutEvents'
312312 } ,
313313 PassthroughBehavior : 'NEVER' ,
314314 RequestParameters : {
@@ -687,7 +687,7 @@ describe('#compileMethodsToEventBridge()', () => {
687687 Type : 'AWS' ,
688688 Credentials : { 'Fn::GetAtt' : [ 'ApigatewayToEventBridgeRole' , 'Arn' ] } ,
689689 Uri : {
690- 'Fn::Sub' : 'arn:aws :apigateway:${AWS::Region}:events:action/PutEvents'
690+ 'Fn::Sub' : 'arn:${AWS::Partition} :apigateway:${AWS::Region}:events:action/PutEvents'
691691 } ,
692692 PassthroughBehavior : 'NEVER' ,
693693 RequestParameters : {
@@ -794,7 +794,7 @@ describe('#compileMethodsToEventBridge()', () => {
794794 Type : 'AWS' ,
795795 Credentials : { 'Fn::GetAtt' : [ 'ApigatewayToEventBridgeRole' , 'Arn' ] } ,
796796 Uri : {
797- 'Fn::Sub' : 'arn:aws :apigateway:${AWS::Region}:events:action/PutEvents'
797+ 'Fn::Sub' : 'arn:${AWS::Partition} :apigateway:${AWS::Region}:events:action/PutEvents'
798798 } ,
799799 PassthroughBehavior : 'NEVER' ,
800800 RequestParameters : {
0 commit comments