我正在創建一個opsworks堆棧層和一些應用的CloudFormation模板創建一個RDS Opsworks層。在我的圖層中,我有opsworks和RDS。在AWS文檔中,只有如何創建Opsworks::Layer
,但我不知道如何使一個Amazon RDS服務層:由Cloudformation模板
{
"Type": "AWS::OpsWorks::Layer",
"Properties": {
"Attributes" : { String:String },
"AutoAssignElasticIps" : Boolean,
"AutoAssignPublicIps" : Boolean,
"CustomInstanceProfileArn" : String,
"CustomJson" : JSON object,
"CustomRecipes" : Recipes,
"CustomSecurityGroupIds" : [ String, ... ],
"EnableAutoHealing" : Boolean,
"InstallUpdatesOnBoot" : Boolean,
"LifecycleEventConfiguration" : LifeCycleEventConfiguration,
"LoadBasedAutoScaling" : LoadBasedAutoScaling,
"Name" : String,
"Packages" : [ String, ... ],
"Shortname" : String,
"StackId" : String,
"Type" : String,
"VolumeConfigurations" : [ VolumeConfiguration, ... ]
}
}
我的目標是自動的我opsworks資源創建通過雲形成。 任何想法如何做到這一點? 謝謝
我嘗試使用自定義資源,但我得到了錯誤無效的服務標識。任何想法爲什麼我得到那個?總是堅持這個問題已經一個月了,我無法在任何地方找到幫助 – JavaQueen