update-project
to update the CodeBuild project configuration with the desired minimum healthy hosts fleet percentage. Here’s an example command to update the CodeBuild project:
<project-name>
with the actual name of your CodeBuild project. In the environment
parameter, specify the minimumHealthyHosts
value as per your requirements. In the example command above, it’s set to 50
.
update-project
command, verify the CodeBuild project configuration to ensure that the minimum healthy hosts fleet percentage has been successfully updated. You can use the describe-projects
command to check the configuration:<project-name>
with the name of your CodeBuild project. Check the output to confirm that the minimumHealthyHosts
value has been updated to the desired percentage.
By following these steps, you can successfully remediate the EC2 Minimum Healthy Hosts Fleet Percentage misconfiguration for AWS CodeBuild using AWS CLI.