-
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_cloud9_alpha: Give user ability to specify image ID, and make default to use recommended Amazon Linux 2 #20908
Comments
@sean-beath I agree this should be a feature! This issue has been classified as p2. That means a workaround is available or it is deemed a nice-to-have feature. Given the amount of work there is to do and the relative priority of this issue, the CDK team is unlikely to address it. That does not mean the issue will never be fixed! If someone from the community submits a PR to fix this issue, and the PR is small and straightforward enough, and meets the quality bars to be reviewed and merged with little effort we will accept that PR. PRs that do not build or need complex or multiple rounds of reviews are unlikely to be merged and will be closed to keep our backlog manageable. In the mean time, remember that you can always use the escape hatch (https://docs.aws.amazon.com/cdk/v2/guide/cfn_layer.html) mechanism to have fine control over the CloudFormation output you want. We will keep the issue open for discoverability, to collect upvotes, and to facilitate discussion around this topic. We use +1s on this issue to help prioritize our work, and are happy to re-evaluate the prioritization of this issue based on community feedback. You can reach out to the cdk.dev community on Slack (https://cdk.dev/) to solicit support for reprioritization. |
@corymhall Should we also change the default value to Amazon Linux 2 as requested? If yes, can we skip the feature flag because cloud9 is an experimental module? Without feature flag, we could just add this line to change the default behaviour. imageId: props.imageId ? props.imageId : 'amazonlinux-2-x86_64', I found this note in the Cloud9 API documentation:
Will the default value be also changed to Amazon Linux 2 in CloudFormation? In this case, we could close this issue after merging the PR. |
@corymhall The build is failing as this is a breaking change by making the imageId a mandatory field. Apologies for the duplicate PR but I wanted to use this for my own learning so hopefully I can keep contributing. Please let me know if there is something I have missed. |
Allows users to include the imageId parameter to specify which EC2 AMI to be used when creating the environment. closes: #20908. Shout out to @jumic for beginning the fix. Unable to run yarn integ due to breaking change. BREAKING CHANGE: The imageId parameter is now required and deployments will fail without it ---- ### All Submissions: * [x] Have you followed the guidelines in our [Contributing guide?](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) ### Adding new Unconventional Dependencies: * [ ] This PR adds new unconventional dependencies following the process described [here](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md/#adding-new-unconventional-dependencies) ### New Features * [x] Have you added the new feature to an [integration test](https://github.com/aws/aws-cdk/blob/main/INTEGRATION_TESTS.md)? * [x] Did you use `yarn integ` to deploy the infrastructure and generate the snapshot (i.e. `yarn integ` without `--dry-run`)? *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
|
…1194) Allows users to include the imageId parameter to specify which EC2 AMI to be used when creating the environment. closes: aws#20908. Shout out to @jumic for beginning the fix. Unable to run yarn integ due to breaking change. BREAKING CHANGE: The imageId parameter is now required and deployments will fail without it ---- ### All Submissions: * [x] Have you followed the guidelines in our [Contributing guide?](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) ### Adding new Unconventional Dependencies: * [ ] This PR adds new unconventional dependencies following the process described [here](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md/#adding-new-unconventional-dependencies) ### New Features * [x] Have you added the new feature to an [integration test](https://github.com/aws/aws-cdk/blob/main/INTEGRATION_TESTS.md)? * [x] Did you use `yarn integ` to deploy the infrastructure and generate the snapshot (i.e. `yarn integ` without `--dry-run`)? *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Describe the feature
Implement a way for users to change the default image ID for their Cloud9 instance.
Further, default the image ID to be Amazon Linux 2 (amazonlinux-2-x86_64) aligning to recommendation from AWS.
This would allow a user to implement the following to specify Amazon Linux 2 as their EC2 image:
Use Case
I am not currently able to deploy a Cloud9 environment using the recommended image from AWS.
Proposed Solution
No response
Other Information
No response
Acknowledgements
CDK version used
2.25.0a0
Environment details (OS name and version, etc.)
MacOS Big Sur 11.6.5
The text was updated successfully, but these errors were encountered: