Skip to content

Commit

Permalink
Update construct test snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
pcholakov committed Aug 8, 2024
1 parent e6d9f92 commit a3323e8
Showing 1 changed file with 116 additions and 1 deletion.
117 changes: 116 additions & 1 deletion test/__snapshots__/restate-constructs.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,35 @@ exports[`Restate constructs Create a self-hosted Restate environment deployed on
PolicyName: RestateInstanceRoleDefaultPolicyD1D39538
Roles:
- Ref: RestateInstanceRoleACC59A6F
RestateInvokerRole42565598:
Type: 'AWS::IAM::Role'
Properties:
AssumeRolePolicyDocument:
Statement:
- Action: 'sts:AssumeRole'
Effect: Allow
Principal:
AWS:
'Fn::GetAtt':
- RestateInstanceRoleACC59A6F
- Arn
Version: '2012-10-17'
RestateAssumeInvokerRolePolicy1FA6B6C2:
Type: 'AWS::IAM::Policy'
Properties:
PolicyDocument:
Statement:
- Action: 'sts:AssumeRole'
Effect: Allow
Resource:
'Fn::GetAtt':
- RestateInvokerRole42565598
- Arn
Sid: AllowAssumeInvokerRole
Version: '2012-10-17'
PolicyName: RestateAssumeInvokerRolePolicy1FA6B6C2
Roles:
- Ref: RestateInstanceRoleACC59A6F
RestateLogsFD86ECAE:
Type: 'AWS::Logs::LogGroup'
Properties:
Expand Down Expand Up @@ -900,7 +929,11 @@ exports[`Restate constructs Deploy a Lambda service handler to a remote Restate
- >-
ServiceDeployerCustomResourceProviderframeworkonEventServiceRole865AFB0C
- Arn
Runtime: nodejs18.x
Runtime:
'Fn::FindInMap':
- LatestNodeRuntimeMap
- Ref: 'AWS::Region'
- value
Timeout: 900
DependsOn:
- >-
Expand All @@ -927,5 +960,87 @@ exports[`Restate constructs Deploy a Lambda service handler to a remote Restate
PolicyName: ServiceDeployerInvocationPolicyD09B639D
Roles:
- Ref: InvokerRole4DB2757E
Mappings:
LatestNodeRuntimeMap:
af-south-1:
value: nodejs20.x
ap-east-1:
value: nodejs20.x
ap-northeast-1:
value: nodejs20.x
ap-northeast-2:
value: nodejs20.x
ap-northeast-3:
value: nodejs20.x
ap-south-1:
value: nodejs20.x
ap-south-2:
value: nodejs20.x
ap-southeast-1:
value: nodejs20.x
ap-southeast-2:
value: nodejs20.x
ap-southeast-3:
value: nodejs20.x
ap-southeast-4:
value: nodejs20.x
ap-southeast-5:
value: nodejs20.x
ap-southeast-7:
value: nodejs20.x
ca-central-1:
value: nodejs20.x
ca-west-1:
value: nodejs20.x
cn-north-1:
value: nodejs18.x
cn-northwest-1:
value: nodejs18.x
eu-central-1:
value: nodejs20.x
eu-central-2:
value: nodejs20.x
eu-isoe-west-1:
value: nodejs18.x
eu-north-1:
value: nodejs20.x
eu-south-1:
value: nodejs20.x
eu-south-2:
value: nodejs20.x
eu-west-1:
value: nodejs20.x
eu-west-2:
value: nodejs20.x
eu-west-3:
value: nodejs20.x
il-central-1:
value: nodejs20.x
me-central-1:
value: nodejs20.x
me-south-1:
value: nodejs20.x
mx-central-1:
value: nodejs20.x
sa-east-1:
value: nodejs20.x
us-east-1:
value: nodejs20.x
us-east-2:
value: nodejs20.x
us-gov-east-1:
value: nodejs18.x
us-gov-west-1:
value: nodejs18.x
us-iso-east-1:
value: nodejs18.x
us-iso-west-1:
value: nodejs18.x
us-isob-east-1:
value: nodejs18.x
us-west-1:
value: nodejs20.x
us-west-2:
value: nodejs20.x
"
`;

0 comments on commit a3323e8

Please sign in to comment.