The current code is written for pcluster 2.x and last worked for me on March 23.
with pcluster 2.11.3, deployment fails with error:
ERROR: Error when resolving cluster ami id: No official image id found for base_os='alinux2' and architecture='x86_64'
Unexpected error of type ParamValidationError: Parameter validation failed:
Invalid type for parameter ImageId, value: None, type: <class 'NoneType'>, valid types: <class 'str'>