【发布时间】:2021-11-25 22:30:15
【问题描述】:
我需要在 Cloudformation 中创建 SSM 参数存储来存储 JSON
这是我的模板
Resources:
WebServersSSM:
Type: AWS::SSM::Parameter
Properties:
AllowedPattern: String
DataType: text
Description: WebServers CloudWatch Agent Configuration
Name: WebServersSSM
Type: String
Tier: Standard
Value: |
{
... My JSON File
}
我遇到了错误
Parameter value, cannot be validated against allowedPattern: String (Service: AmazonSSM; Status Code: 400; Error Code: ParameterPatternMismatchException; Request ID: a7c2f063-9e63-4b4c-981b-c9ad05e56166; Proxy: null)
【问题讨论】:
标签: amazon-web-services amazon-cloudformation amazon-cloudwatch aws-ssm