mirror of
https://github.com/openshift/installer.git
synced 2026-02-05 15:47:14 +01:00
OCPBUGS-38235: upi/aws: update lambda runtime python version
The usage of python3.8 in lambda runtimes is being deprecated soon (Oct 14, 2024). This change updates it to python3.11 which can be easily installed in RHEL 9.
This commit is contained in:
@@ -294,7 +294,7 @@ Resources:
|
||||
elb.register_targets(TargetGroupArn=event['ResourceProperties']['TargetArn'],Targets=[{'Id': event['ResourceProperties']['TargetIp']}])
|
||||
responseData = {}
|
||||
cfnresponse.send(event, context, cfnresponse.SUCCESS, responseData, event['ResourceProperties']['TargetArn']+event['ResourceProperties']['TargetIp'])
|
||||
Runtime: "python3.8"
|
||||
Runtime: "python3.11"
|
||||
Timeout: 120
|
||||
|
||||
RegisterSubnetTagsLambdaIamRole:
|
||||
@@ -354,7 +354,7 @@ Resources:
|
||||
ec2_client.create_tags(Resources=[subnet_id], Tags=[{'Key': 'kubernetes.io/cluster/' + event['ResourceProperties']['InfrastructureName'], 'Value': 'shared'}]);
|
||||
responseData = {}
|
||||
cfnresponse.send(event, context, cfnresponse.SUCCESS, responseData, event['ResourceProperties']['InfrastructureName']+event['ResourceProperties']['Subnets'][0])
|
||||
Runtime: "python3.8"
|
||||
Runtime: "python3.11"
|
||||
Timeout: 120
|
||||
|
||||
RegisterPublicSubnetTags:
|
||||
|
||||
Reference in New Issue
Block a user