-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to handle information from SSM runpowershell or runscript #33
Comments
If it is simple data type comparison like string or integer, Systems Manager Automation support conditional branching - https://docs.aws.amazon.com/systems-manager/latest/userguide/automation-branchdocs.html |
So while I understand branching there is no detailed documentation on data handling.. please read my example.. as the data is generated from the system and is stored in output. WindowsSystemInfo.Output This data is a son data set or a MapString. If I pull back a single result in text I can use the info as above var ... While getting the data that the was cli commands can return there is no examples except for branch. There is no documentation on var handling ... all that is there is the same example that used a single string. if you want us to make complete and complex workflows with sum you have to get us the info on how. I am not looking to compare the data but use the data... here is an example that does not work but should based on the rules of a function and var structure . if there was good data to use I could process more data in 1 command and not have to write a single runpowershell for each value to be returned. This would be worse than Jenkins running python and boto3.
|
@FredSamuels did you ever figure this out? I am trying to figure out the exact same thing.. |
@FredSamuels I figured it out and I hate it.. but it works. AWS should really let the Selector parse Output though. This is so painful.
|
Is this still the only way to do this? |
i am trying to figure out how to process complex structures with SSM work flow. I am trying to process data based on system returned data. Idea is to update Tags based on system information.
Example of a Step:
Using the Output is represented in
But how do i parse the data to use on additional steps. I can not find examples or any good support sites.
please let me know if there is a community site or location for this workflow.
The text was updated successfully, but these errors were encountered: