小编QAA*_*QAA的帖子

接收到检测到的验证错误:值 '[AWS:RDS::DBInstance]' at 'typeNameList' 失败

我正在尝试创建一个运行 MySQL 数据库的 RDS 服务器并收到以下错误:

1 validation error detected: Value '[AWS:RDS::DBInstance]' at 'typeNameList' failed to satisfy constraint: Member must satisfy constraint: [Member must have length less than or equal to 204, Member must have length greater than or equal to 10, Member must satisfy regular expression pattern: [A-Za-z0-9]{2,64}::[A-Za-z0-9]{2,64}::[A-Za-z0-9]{2,64}(::MODULE){0,1}]

AWSTemplateFormatVersion: 2010-09-09

Parameters:
  DBName:
    Type: String
    AllowedPattern: '[a-zA-Z][a-zA-Z0-9]*'
  MUser:
    Type: String
    AllowedPattern: '[a-zA-Z][a-zA-Z0-9]*'
  MPass:
    Type: String
    AllowedPattern: '[a-zA-Z0-9]*'
    Description: "It shouldn't be less than 8 characters"
    
Resources:
  MyDBInstance:
    Type: AWS:RDS::DBInstance
    Properties:
      DBName: …
Run Code Online (Sandbox Code Playgroud)

amazon-ec2 amazon-rds aws-cloudformation

0
推荐指数
1
解决办法
642
查看次数