1
0
mirror of https://github.com/openshift/installer.git synced 2026-02-05 06:46:36 +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:
Rafael Fonseca
2024-08-10 13:10:36 +02:00
parent fb271c2426
commit d0ed5437a9

View File

@@ -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: