Adding one bootstrap file that works for AWS Linux 2023 image #18
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
When following the https://learn.acloud.guru/course/aws-certified-developer-associate/learn/d08a2b54-37e1-d237-21a7-55eea7c0fb2d/c487e6ac-4d0e-b4d8-2e25-4821a391fcfa/watch video, I noticed that the provided bootstrap file doesn't work for AWS Linux AMI 2023.
When searching in the A Cloud Guru Forum, I saw that somebody had provided a solution for this at this link: https://acloud.guru/forums/aws-cda-2018/discussion/-NRbLUIK9kRD60W_XcwX/trying-rds-demo-aws-certified-developer-course-failing-to-install-mysql?answer=-NRbyxvSXrHfYxe9vTle
Thus I wanted to contribute by creating a new file that would work for the AWS 2023 Linux image. I tested the command and it doesn't work without the sudo, so I left the sudo dnf command in the file. Once instance is launched, mysql will have been installed.
Please, kindly review this request. Thanks in advance.