2 Answers
- Newest
- Most votes
- Most comments
2
As per documentation:
Merge updates (merge) – (Optional) A JSON document that defines the configuration values to merge onto the target device. You must serialize the JSON document as a string. For more information, see Merge updates.
You need to convert the merge
section to be a JSON string. Like the following:
targetArn: <MY_TARGET_ARN>
deploymentName: <MY_DEPLOYMENT_NAME>
components:
aws.greengrass.Nucleus:
componentVersion: '2.12.6'
aws.greengrass.TokenExchangeService:
componentVersion: '2.0.3'
aws.greengrass.DockerApplicationManager:
componentVersion: '2.0.11'
runWith:
posixUser: 'root'
<MY_COMPONENT_NAME>:
componentVersion: '0.1.0'
runWith:
posixUser: 'root'
aws.greengrass.LogManager:
componentVersion: '2.3.0'
configurationUpdate:
merge: |
{
"logsUploaderConfiguration": {
"systemLogsConfiguration": {
"uploadToCloudWatch": true
},
"componentLogsConfigurationMap": [
"<MY_COMPONENT_NAME>"
]
}
}
0
Yaniv,
Thank you for the pointing that out in the docs and the help, that did the trick.
answered 22 days ago
Relevant content
- asked 2 years ago
- AWS OFFICIALUpdated a month ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 9 months ago
- AWS OFFICIALUpdated 3 months ago