Commit 746ac9de authored by Jeremy Carroll's avatar Jeremy Carroll

Convert string to byte array

parent 4f02c506
......@@ -29,7 +29,7 @@ func (s *StepRunSourceInstance) Run(state map[string]interface{}) multistep.Step
KeyName: keyName,
ImageId: s.SourceAMI,
InstanceType: s.InstanceType,
UserData: s.UserData,
UserData: []byte(s.UserData),
MinCount: 0,
MaxCount: 0,
SecurityGroups: []ec2.SecurityGroup{ec2.SecurityGroup{Id: securityGroupId}},
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment