Skip to content

Instantly share code, notes, and snippets.

@scott-kloud
Last active November 19, 2016 00:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save scott-kloud/cd87258f9c497b5d2bcb171a5cefe4e2 to your computer and use it in GitHub Desktop.
Save scott-kloud/cd87258f9c497b5d2bcb171a5cefe4e2 to your computer and use it in GitHub Desktop.
<sub-flow name="archiveLogFile">
<flow-ref name="cloudhubLogin" doc:name="cloudhubLogin"/>
<flow-ref name="cloudhubDeployments" doc:name="cloudhubDeployments"/>
<foreach collection="#[flowVars.instances]" counterVariableName="instanceCounter" doc:name="For Each deployed instance">
<set-variable variableName="instanceId" value="#[flowVars.instances[flowVars.instanceCounter-1].instanceId]" doc:name="Set InstanceId flowVar"/>
<flow-ref name="cloudhubLogFiles" doc:name="cloudhubLogFiles"/>
</foreach>
</sub-flow>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment