Closed moellr closed 7 months ago
Confirmed. As long as Disposable Cloud Environment (DCE) project is not updated to a new Go runtime, Sandbox Accounts for Events will not be able to deploy correctly. This is a hard dependency.
Fixed with today's commit, I was able to implement a fix that updates DCE's Lambda runtimes to AmazonLinux2 instead of the deprecated Go1.x runtimes. Deployment works fine again now.
I will remove the current fix again when the underlying DCE project updates its configuration in future.
Version information all versions
Describe the bug New deployments fail at CloudFormation resource
DceCodeBuildTerraformDeployment
.Expected behavior Deployment succeeds w/o error message
Additional context CloudWatch LogGroup
/aws/codebuild/DeployDce
reveals:Error creating Lambda Function (1): InvalidParameterValueException: The runtime parameter of go1.x is no longer supported for creating or updating AWS Lambda functions. We recommend you use the new runtime (provided.al2023) while creating or updating functions
Root Cause This project uses the Disposable Cloud Environment (DCE) project from Optum as backend service. DCE uses Lambda functions with Go1.x runtime, which is now deprecated on AWS. Deploying DCE fails for this reason, which leads to Sandbox Accounts for Events also to fail.