我有一个 cloudformation 模板。
它应该创建一个 EC2 实例,更改管理员密码并重命名服务器。
我将几个参数传递给堆栈模板。当我运行它时,它给出“模板格式错误:每个映射成员类型必须是一个映射”。
我确保我在模板中提到的任何内容都在“映射”部分中。不知道为什么我收到这个错误。
任何建议都非常有帮助。
{
"AWSTemplateFormatVersion": "2010-09-09",
"Parameters": {
"LocalAdminPassword" :
{
"Type": "String",
"NoEcho" : "true",
"Description": "Password for the local server administrator account."
}
},
"Mappings": {
"EnvironmentTypeName" :
{
"PlatformName" : {"Dev" : "D", "Test" : "T", "Prod" : "P"}
},
"QRMEnvironmentType" :
{
"Description" : "QRM Dev, test, or Prod Platform",
"Type" : "String",
"AllowedValues" : ["Dev", "Test", "Prod"],
"Default" : "Dev",
"ConstraintDescription" : "must be either Dev, test, or Prod" …Run Code Online (Sandbox Code Playgroud) AWS是否有Windows 10 AMI可用?我只能找到Windows服务器AMI
在这个链接我只能看到Windows服务器AMI