Hi, I have been toying around with the cloud formation template and would like inject some powershell script during (ArcGISPortalSingleAutomation). I have packaged some custom powershell module in Esri Image to create an extension of the esri 109 image from marketplace.
![VictorTey_0-1636444831815.png VictorTey_0-1636444831815.png](https://community.esri.com/t5/image/serverpage/image-id/27048i9DDD380ACF093A41/image-size/medium?v=v2&px=400)
I have modified BootstrapWindowsNode so that next step would point to a step to executeScript. I am trying to update the host file before ConfigureArcGISPortalOnWindows run. However ps script doesn't appear to be running. I have no idea how to troubleshoot this. Cloud watch log and event logs show nothing. The first step of my script writes a log to a text file in c: however there is nothign there so I assume the ps script did not run. Can anyone advise? I am 0 experience with cloud formation and your patiences is much appreciated 🙂
![VictorTey_1-1636444890841.png VictorTey_1-1636444890841.png](https://community.esri.com/t5/image/serverpage/image-id/27049i9EA4C579C424B451/image-size/large?v=v2&px=999)