Open awsdiegorad opened 2 years ago
So, there are several related problems to this. After digging into the template, it looks like someone changed the available PHP versions to:
PHPVersion:
AllowedValues:
- 8.1
- 8.0
- 7.4
Default: 8.1
Description: The version of PHP to install.
Type: String
But, they didn't change any of corresponding launch configurations. The only change that actually happened is:
PHP55:
!Equals [ 8.1, !Ref PHPVersion ]
PHP56:
!Equals [ 8.0, !Ref PHPVersion ]
PHP70:
!Equals [ 7.4, !Ref PHPVersion ]
This then obviously causes a parameter value of 8.1
to deploy the PHP 5.5 Launch Configuration.
Currently, it does not seem to be possible to launch the "Web" stack. The Auto Scaling Group resource, with logical ID "WebAutoScalingGroup" will fail to create with an error stating that 0 Success signals were received from the generated instances
==== Received 0 SUCCESS signal(s) out of 2. Unable to satisfy 100% MinSuccessfulInstancesPercent requirement
Taking a look at the console logs of one of the generated instances, I see that the "php55-pear" package is not available for installation, failing the run.
Checking the CloudFormation template, I see that there are 3 different versions available of php (php55, php56, and php70). I tried installing each of this packages on a stand alone EC 2 instance, and found that none of them are available.