Thanks for trying out. Did you change "Account ID" and "RoleName" in the policies? as shown in github? If possible share your policy, we can correct the errors :)
I am following the code for windows SSM automation document , can we define security groups in parameters besides subnet. I defined the subnetid where we launch the ec2 , am getting bellow error Automation Step Execution fails when it is launching the instance(s). Get Exception from RunInstances API of ec2 Service. Exception Message from RunInstances API: [You do not have access to a default security group in VPC ] In our setup We don’t have or allow any default security groups in VPC, can you please suggest how to handle this.