Skip to content

Commit 1f7db8c

Browse files
authored
Merge pull request #13 from awslabs/fix/stop-execution-region-iam
fix region locked iam permission
2 parents 016f537 + 6195f0d commit 1f7db8c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

template.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
AWSTemplateFormatVersion: "2010-09-09"
22
Transform: AWS::Serverless-2016-10-31
3-
Description: Frontend Service Discovery on AWS (uksb-1tthgi8k7) (version:v1.0)
3+
Description: Frontend Service Discovery on AWS (uksb-1tthgi8k7) (version:v1.1)
44

55
Globals:
66
Function:
@@ -68,7 +68,7 @@ Conditions:
6868
Mappings:
6969
Solution:
7070
Constants:
71-
Version: '1.0'
71+
Version: '1.1'
7272

7373
Resources:
7474
ProjectStore:
@@ -385,7 +385,7 @@ Resources:
385385
- Effect: Allow
386386
Action:
387387
- states:StopExecution
388-
Resource: !Sub "arn:aws:states:eu-west-1:${AWS::AccountId}:execution:${DeploymentStateMachine.Name}:*"
388+
Resource: !Sub "arn:aws:states:${AWS::Region}:${AWS::AccountId}:execution:${DeploymentStateMachine.Name}:*"
389389
Events:
390390
GetProjects:
391391
Type: Api

0 commit comments

Comments
 (0)