1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
0
AWS tech support sent me an answer. Although MinLength is not supported on AvailabilityZone::Name, AllowedPattern is. Here is a pattern that ensures the AvailabilityZone::Name is at least 1 character long. Since this is a popup field it ensures that the popup is populated and not left blank.
===================================================
AvailabilityZone:
Type: AWS::EC2::AvailabilityZone::Name
Description: EC2 AvailabilityZone
AllowedPattern: ".+" # -> to have a non blank value
FYI: Using a DefaultValue is not really an option since I don't know what Region the script is being run in.
répondu il y a 4 ans
Contenus pertinents
- demandé il y a 6 mois
- demandé il y a 7 mois
- demandé il y a un an
- demandé il y a 3 mois
- AWS OFFICIELA mis à jour il y a 10 mois
- AWS OFFICIELA mis à jour il y a 9 mois
- AWS OFFICIELA mis à jour il y a 3 mois
- AWS OFFICIELA mis à jour il y a un an