Ich möchte einen Stapel von opsworks erstellen und ich möchte Benutzerdaten in meinen Stack-Instanzen konfigurieren. Ich brauche keine automatische Skalierungsgruppe, daher können Metadaten und AWS :: CloudFormation :: Init in einer AWS :: OpsWorks :: Instance-Ressource genauso verwendet werden wie in AWS :: EC2 :: Instance und Startkonfiguration?Ist es möglich, AWS :: CloudFormation :: Init und Metadaten in der Ressource AWS :: OpsWorks :: Instance zu verwenden?
"Resources": {
"MyInstance": {
"Type": "AWS::EC2::Instance",
"Metadata" : {
"AWS::CloudFormation::Init" : {
"config" : {
"packages" : {},
"groups" : {},
"users" : {},
"sources" : {},
"files" : {},
"commands" : {},
"services" : {}
}
}
},
"Properties": {
[...]
}
}
}