Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions internal/pkg/addon/package_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ Resources:
Timeout: 900
MemorySize: 512
Role: !GetAtt "TestRole.Arn"
Runtime: nodejs20.x
Runtime: nodejs22.x
`,
outTemplate: `
Resources:
Expand All @@ -96,7 +96,7 @@ Resources:
Timeout: 900
MemorySize: 512
Role: !GetAtt "TestRole.Arn"
Runtime: nodejs20.x
Runtime: nodejs22.x
`,
},
"AWS::Glue::Job, non-zipped file": {
Expand Down Expand Up @@ -225,7 +225,7 @@ Resources:
Timeout: 900
MemorySize: 512
Role: !GetAtt "TestRole.Arn"
Runtime: nodejs20.x
Runtime: nodejs22.x
`,
outTemplate: `
Resources:
Expand All @@ -247,7 +247,7 @@ Resources:
Timeout: 900
MemorySize: 512
Role: !GetAtt "TestRole.Arn"
Runtime: nodejs20.x
Runtime: nodejs22.x
`,
},
"Fn::Transform nested in a yaml mapping and sequence node": {
Expand Down Expand Up @@ -480,7 +480,7 @@ Resources:
Timeout: 900
MemorySize: 512
Role: !GetAtt "TestRole.Arn"
Runtime: nodejs20.x
Runtime: nodejs22.x
`
stack := &EnvironmentStack{
stack: stack{
Expand Down Expand Up @@ -511,7 +511,7 @@ Resources:
Timeout: 900
MemorySize: 512
Role: !GetAtt "TestRole.Arn"
Runtime: nodejs20.x
Runtime: nodejs22.x
`
require.NoError(t, err)
tmpl, err := stack.Template()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -942,7 +942,7 @@ Resources:
Timeout: 900
MemorySize: 512
Role: !GetAtt 'CustomResourceRole.Arn'
Runtime: nodejs20.x
Runtime: nodejs22.x

CustomDomainFunction:
Condition: ManagedAliases
Expand All @@ -952,7 +952,7 @@ Resources:
Timeout: 600
MemorySize: 512
Role: !GetAtt 'CustomResourceRole.Arn'
Runtime: nodejs20.x
Runtime: nodejs22.x

DNSDelegationFunction:
Type: AWS::Lambda::Function
Expand All @@ -962,7 +962,7 @@ Resources:
Timeout: 600
MemorySize: 512
Role: !GetAtt 'CustomResourceRole.Arn'
Runtime: nodejs20.x
Runtime: nodejs22.x
DelegateDNSAction:
Metadata:
'aws:copilot:description': 'Delegate DNS for environment subdomain'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ Resources:
Timeout: 600
MemorySize: 512
Role: !GetAtt "UniqueJSONValuesFunctionRole.Arn"
Runtime: nodejs20.x
Runtime: nodejs22.x
UniqueAliasesAction:
Metadata:
"aws:copilot:description": "An action to get unique custom aliases for services in your environment"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -788,7 +788,7 @@ Resources:
Timeout: 900
MemorySize: 512
Role: !GetAtt 'ELBAccessLogsBucketCleanerRole.Arn'
Runtime: nodejs20.x
Runtime: nodejs22.x

ELBAccessLogsBucketCleanerRole:
Metadata:
Expand Down Expand Up @@ -1098,7 +1098,7 @@ Resources:
Timeout: 900
MemorySize: 512
Role: !GetAtt 'CustomResourceRole.Arn'
Runtime: nodejs20.x
Runtime: nodejs22.x

CustomDomainFunction:
Condition: ManagedAliases
Expand All @@ -1108,7 +1108,7 @@ Resources:
Timeout: 600
MemorySize: 512
Role: !GetAtt 'CustomResourceRole.Arn'
Runtime: nodejs20.x
Runtime: nodejs22.x

DNSDelegationFunction:
Type: AWS::Lambda::Function
Expand All @@ -1118,7 +1118,7 @@ Resources:
Timeout: 600
MemorySize: 512
Role: !GetAtt 'CustomResourceRole.Arn'
Runtime: nodejs20.x
Runtime: nodejs22.x
DelegateDNSAction:
Metadata:
'aws:copilot:description': 'Delegate DNS for environment subdomain'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -947,7 +947,7 @@ Resources:
Timeout: 900
MemorySize: 512
Role: !GetAtt 'CustomResourceRole.Arn'
Runtime: nodejs20.x
Runtime: nodejs22.x

CustomDomainFunction:
Condition: ManagedAliases
Expand All @@ -957,7 +957,7 @@ Resources:
Timeout: 600
MemorySize: 512
Role: !GetAtt 'CustomResourceRole.Arn'
Runtime: nodejs20.x
Runtime: nodejs22.x

DNSDelegationFunction:
Type: AWS::Lambda::Function
Expand All @@ -967,7 +967,7 @@ Resources:
Timeout: 600
MemorySize: 512
Role: !GetAtt 'CustomResourceRole.Arn'
Runtime: nodejs20.x
Runtime: nodejs22.x

DelegateDNSAction:
Metadata:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -776,7 +776,7 @@ Resources:
Timeout: 900
MemorySize: 512
Role: !GetAtt 'CustomResourceRole.Arn'
Runtime: nodejs20.x
Runtime: nodejs22.x

CustomDomainFunction:
Condition: ManagedAliases
Expand All @@ -786,7 +786,7 @@ Resources:
Timeout: 600
MemorySize: 512
Role: !GetAtt 'CustomResourceRole.Arn'
Runtime: nodejs20.x
Runtime: nodejs22.x

DNSDelegationFunction:
Type: AWS::Lambda::Function
Expand All @@ -796,7 +796,7 @@ Resources:
Timeout: 600
MemorySize: 512
Role: !GetAtt 'CustomResourceRole.Arn'
Runtime: nodejs20.x
Runtime: nodejs22.x

DelegateDNSAction:
Metadata:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ Resources:
Timeout: 600
MemorySize: 512
Role: !GetAtt "DynamicDesiredCountFunctionRole.Arn"
Runtime: nodejs20.x
Runtime: nodejs22.x
DynamicDesiredCountFunctionRole:
Metadata:
"aws:copilot:description": "An IAM Role for describing number of running tasks in your ECS service"
Expand Down Expand Up @@ -471,7 +471,7 @@ Resources:
Timeout: 600
MemorySize: 512
Role: !GetAtt "RulePriorityFunctionRole.Arn"
Runtime: nodejs20.x
Runtime: nodejs22.x
RulePriorityFunctionRole:
Metadata:
"aws:copilot:description": "An IAM Role to describe load balancer rules for assigning a priority"
Expand Down Expand Up @@ -575,7 +575,7 @@ Resources:
Timeout: 900
MemorySize: 512
Role: !GetAtt "EnvControllerRole.Arn"
Runtime: nodejs20.x
Runtime: nodejs22.x
EnvControllerRole:
Metadata:
"aws:copilot:description": "An IAM role to update your environment stack"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ Resources:
Timeout: 600
MemorySize: 512
Role: !GetAtt "RulePriorityFunctionRole.Arn"
Runtime: nodejs20.x
Runtime: nodejs22.x
RulePriorityFunctionRole:
Metadata:
"aws:copilot:description": "An IAM Role to describe load balancer rules for assigning a priority"
Expand Down Expand Up @@ -568,7 +568,7 @@ Resources:
Timeout: 900
MemorySize: 512
Role: !GetAtt "EnvControllerRole.Arn"
Runtime: nodejs20.x
Runtime: nodejs22.x
EnvControllerRole:
Metadata:
"aws:copilot:description": "An IAM role to update your environment stack"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ Resources:
Timeout: 600
MemorySize: 512
Role: !GetAtt "RulePriorityFunctionRole.Arn"
Runtime: nodejs20.x
Runtime: nodejs22.x
RulePriorityFunctionRole:
Metadata:
"aws:copilot:description": "An IAM Role to describe load balancer rules for assigning a priority"
Expand Down Expand Up @@ -456,7 +456,7 @@ Resources:
Timeout: 900
MemorySize: 512
Role: !GetAtt "EnvControllerRole.Arn"
Runtime: nodejs20.x
Runtime: nodejs22.x
EnvControllerRole:
Metadata:
"aws:copilot:description": "An IAM role to update your environment stack"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ Resources:
Timeout: 600
MemorySize: 512
Role: !GetAtt "RulePriorityFunctionRole.Arn"
Runtime: nodejs20.x
Runtime: nodejs22.x
RulePriorityFunctionRole:
Metadata:
'aws:copilot:description': "An IAM Role to describe load balancer rules for assigning a priority"
Expand Down Expand Up @@ -447,7 +447,7 @@ Resources:
Timeout: 900
MemorySize: 512
Role: !GetAtt 'EnvControllerRole.Arn'
Runtime: nodejs20.x
Runtime: nodejs22.x
EnvControllerRole:
Metadata:
'aws:copilot:description': "An IAM role to update your environment stack"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ Resources:
Timeout: 900
MemorySize: 512
Role: !GetAtt "EnvControllerRole.Arn"
Runtime: nodejs20.x
Runtime: nodejs22.x
EnvControllerRole:
Metadata:
"aws:copilot:description": "An IAM role to update your environment stack"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ Resources:
Timeout: 900
MemorySize: 512
Role: !GetAtt "EnvControllerRole.Arn"
Runtime: nodejs20.x
Runtime: nodejs22.x
EnvControllerRole:
Metadata:
"aws:copilot:description": "An IAM role to update your environment stack"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ Resources:
Timeout: 900
MemorySize: 512
Role: !GetAtt 'EnvControllerRole.Arn'
Runtime: nodejs20.x
Runtime: nodejs22.x

EnvControllerRole:
Metadata:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ Resources:
Timeout: 900
MemorySize: 512
Role: !GetAtt 'EnvControllerRole.Arn'
Runtime: nodejs20.x
Runtime: nodejs22.x

EnvControllerRole:
Metadata:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ Resources:
Properties:
Handler: index.handler
Role: !GetAtt TriggerStateMachineFunctionRole.Arn
Runtime: nodejs20.x
Runtime: nodejs22.x
Timeout: 900
MemorySize: 512

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ Resources:
Properties:
Handler: index.handler
Role: !GetAtt TriggerStateMachineFunctionRole.Arn
Runtime: nodejs20.x
Runtime: nodejs22.x
Timeout: 900
MemorySize: 512

Expand Down Expand Up @@ -386,7 +386,7 @@ Resources:
Timeout: 900
MemorySize: 512
Role: !GetAtt 'CustomDomainRole.Arn'
Runtime: nodejs20.x
Runtime: nodejs22.x

CustomDomainRole:
Metadata:
Expand Down Expand Up @@ -448,7 +448,7 @@ Resources:
Timeout: 900
MemorySize: 512
Role: !GetAtt 'CertificateValidatorRole.Arn'
Runtime: nodejs20.x
Runtime: nodejs22.x

CertificateValidatorRole:
Metadata:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ Resources: # If a bucket URL is specified, that means the template exists.
Timeout: 600
MemorySize: 512
Role: !GetAtt 'DynamicDesiredCountFunctionRole.Arn'
Runtime: nodejs20.x
Runtime: nodejs22.x
DynamicDesiredCountFunctionRole:
Metadata:
'aws:copilot:description': "An IAM Role for describing number of running tasks in your ECS service"
Expand Down Expand Up @@ -364,7 +364,7 @@ Resources: # If a bucket URL is specified, that means the template exists.
Timeout: 900
MemorySize: 512
Role: !GetAtt 'EnvControllerRole.Arn'
Runtime: nodejs20.x
Runtime: nodejs22.x
EnvControllerRole:
Metadata:
'aws:copilot:description': "An IAM role to update your environment stack"
Expand Down Expand Up @@ -482,7 +482,7 @@ Resources: # If a bucket URL is specified, that means the template exists.
Timeout: 600
MemorySize: 512
Role: !GetAtt 'RulePriorityFunctionRole.Arn'
Runtime: nodejs20.x
Runtime: nodejs22.x
RulePriorityFunctionRole:
Metadata:
'aws:copilot:description': "An IAM Role to describe load balancer rules for assigning a priority"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ Resources: # If a bucket URL is specified, that means the template exists.
Timeout: 900
MemorySize: 512
Role: !GetAtt 'EnvControllerRole.Arn'
Runtime: nodejs20.x
Runtime: nodejs22.x
EnvControllerRole:
Metadata:
'aws:copilot:description': "An IAM role to update your environment stack"
Expand Down Expand Up @@ -373,7 +373,7 @@ Resources: # If a bucket URL is specified, that means the template exists.
Timeout: 600
MemorySize: 512
Role: !GetAtt 'RulePriorityFunctionRole.Arn'
Runtime: nodejs20.x
Runtime: nodejs22.x
RulePriorityFunctionRole:
Metadata:
'aws:copilot:description': "An IAM Role to describe load balancer rules for assigning a priority"
Expand Down
Loading