【发布时间】:2021-10-26 03:45:43
【问题描述】:
我有一个 ECRImage URI 的参数。当我尝试使用 taskcat 进行空运行测试时,出现以下错误
[ERROR ] : ClientError An error occurred (ValidationError) when calling the CreateStack operation: Parameter ECRImageURI failed to satisfy constraint: Allow all characters
但是我对模式的正则表达式已经很宽松了。想法?
ECRImageURI:
AllowedPattern: ".*"
ConstraintDescription: "Allow all characters"
Default: 'http://464139160630.dkr.ecr.us-east-2.amazonaws.com/www.pulliam.sh:latest'
Description: ECR Docker image to use in ECS Task definition.
MaxLength: '64'
MinLength: '1'
Type: String
编辑: 基于文档here,Cloudformation 使用Java regular expressions。所以我只能得出结论,taskcat 有问题,或者发生了其他事情。
【问题讨论】:
标签: amazon-cloudformation amazon-ecr