-
Notifications
You must be signed in to change notification settings - Fork 4k
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
(aws-apprunner-alpha): missing apprunner runtime Python_311 #30146
Labels
@aws-cdk/aws-apprunner
Related to the apprunner package
bug
This issue is a bug.
effort/small
Small work item – less than a day of effort
p2
Comments
hiselitelordship
added
bug
This issue is a bug.
needs-triage
This issue or PR still needs to be triaged.
labels
May 10, 2024
github-actions
bot
added
the
@aws-cdk/aws-apprunner
Related to the apprunner package
label
May 10, 2024
ashishdhingra
added
investigating
This issue is being investigated and/or work is in progress to resolve the issue.
and removed
needs-triage
This issue or PR still needs to be triaged.
labels
May 10, 2024
Appears to be a valid request for experimental |
ashishdhingra
added
p2
effort/small
Small work item – less than a day of effort
and removed
investigating
This issue is being investigated and/or work is in progress to resolve the issue.
labels
May 10, 2024
This was referenced May 13, 2024
mergify bot
pushed a commit
that referenced
this issue
Jul 31, 2024
### Issue # (if applicable) Closes #30146. ### Reason for this change Runtimes Python 3.11 and NodeJS 18 were missing. ### Description of changes Runtimes Python 3.11 and NodeJS 18 were added. ### Description of how you validated changes No tests were added, as it seems not required for this type of change. ### Checklist - [*] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md) ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Comments on closed issues and PRs are hard for our team to see. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
@aws-cdk/aws-apprunner
Related to the apprunner package
bug
This issue is a bug.
effort/small
Small work item – less than a day of effort
p2
Describe the bug
Apprunner supports two Python Runtimes: 3 and 311 as documented here: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-codeconfigurationvalues.html
PYTHON_311 is missing from https://github.com/aws/aws-cdk/blob/main/packages/%40aws-cdk/aws-apprunner-alpha/lib/service.ts#L210
Expected Behavior
It is expected that the CDK should make all supported runtimes available.
Current Behavior
It only supports Python_3 (this translates to the extremely old Python 3.8)
Reproduction Steps
apprunner_alpha.Service(
self,
"My Web Site",
instance_role=web_instance_role,
source=apprunner_alpha.Source.from_git_hub(
repository_url="",
branch="main",
configuration_source=apprunner_alpha.ConfigurationSourceType.API,
code_configuration_values=apprunner_alpha.CodeConfigurationValues(
runtime=apprunner_alpha.Runtime.PYTHON_3,
port="5000",
start_command="",
build_command="",
environment_variables={},
),
connection=apprunner_alpha.GitHubConnection.from_connection_arn(
web_github_arn
),
),
)
Possible Solution
/**
*/
public static readonly PYTHON_311 = Runtime.of('PYTHON_311')
Additional Information/Context
No response
CDK CLI Version
2.140.0
Framework Version
No response
Node.js Version
v20.9.0
OS
Ubuntu
Language
Python
Language Version
Python 3.11
Other information
No response
The text was updated successfully, but these errors were encountered: