Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Error: The runtime 'provided.al2023' is unsupported. (golang) #4567

Closed
aallbrig opened this issue Jun 9, 2024 · 1 comment
Closed
Labels
bug We can reproduce the issue and confirmed it is a bug.

Comments

@aallbrig
Copy link

aallbrig commented Jun 9, 2024

Description:

I'm seeing "Error: The runtime 'provided.al2023' is unsupported." when trying to run my golang lambda function in Intellij IDEA.

Screenshot 2024-06-06 at 9 34 57 AM

I made sure I have the latest AWS toolkit plugin and am on the latest version of SAM.
Screenshot 2024-06-06 at 9 33 21 AM
Screenshot 2024-06-06 at 9 31 39 AM

Just trying to get debug breakpoints hitting from my lambda function on my M2 macbook pro. I realize being on ARM may be why I was having previous issues: aws/aws-sam-cli#5412

Steps to reproduce:

Screenshot 2024-06-06 at 9 30 51 AM Followed from https://aws.amazon.com/blogs/compute/migrating-aws-lambda-functions-from-the-go1-x-runtime-to-the-custom-runtime-on-amazon-linux-2/

Observed result:

Screenshot 2024-06-06 at 9 34 57 AM

Expected result:

Able to debug my golang based lambda function via jetbrains IDEA on my M2 macbook pro

Additional environment details (Ex: Windows, Mac, Amazon Linux etc)

{
  "version": "1.118.0",
  "system": {
    "python": "3.8.13",
    "os": "macOS-13.6-arm64-arm-64bit"
  },
  "additional_dependencies": {
    "docker_engine": "26.1.1",
    "aws_cdk": "Not available",
    "terraform": "1.5.7"
  },
  "available_beta_feature_env_vars": [
    "SAM_CLI_BETA_FEATURES",
    "SAM_CLI_BETA_BUILD_PERFORMANCE",
    "SAM_CLI_BETA_TERRAFORM_SUPPORT",
    "SAM_CLI_BETA_RUST_CARGO_LAMBDA"
  ]
}


Originally opened here: aws/aws-sam-cli#7139

@aallbrig aallbrig added the bug We can reproduce the issue and confirmed it is a bug. label Jun 9, 2024
@aallbrig
Copy link
Author

This isn't important. Closing this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug We can reproduce the issue and confirmed it is a bug.
Projects
None yet
Development

No branches or pull requests

1 participant