Commit 5cbff00a authored by Nathan Sullivan's avatar Nathan Sullivan

goamz aspects of AssociatePublicIpAddress working now

parent 49a13195
...@@ -22,7 +22,7 @@ type RunConfig struct { ...@@ -22,7 +22,7 @@ type RunConfig struct {
SecurityGroupId string `mapstructure:"security_group_id"` SecurityGroupId string `mapstructure:"security_group_id"`
SecurityGroupIds []string `mapstructure:"security_group_ids"` SecurityGroupIds []string `mapstructure:"security_group_ids"`
SubnetId string `mapstructure:"subnet_id"` SubnetId string `mapstructure:"subnet_id"`
AssociatePublicIpAddress string `mapstructure:"associate_public_ip_address"` AssociatePublicIpAddress bool `mapstructure:"associate_public_ip_address"`
TemporaryKeyPairName string `mapstructure:"temporary_key_pair_name"` TemporaryKeyPairName string `mapstructure:"temporary_key_pair_name"`
VpcId string `mapstructure:"vpc_id"` VpcId string `mapstructure:"vpc_id"`
AvailabilityZone string `mapstructure:"availability_zone"` AvailabilityZone string `mapstructure:"availability_zone"`
...@@ -92,7 +92,6 @@ func (c *RunConfig) Prepare(t *packer.ConfigTemplate) []error { ...@@ -92,7 +92,6 @@ func (c *RunConfig) Prepare(t *packer.ConfigTemplate) []error {
"ssh_username": &c.SSHUsername, "ssh_username": &c.SSHUsername,
"source_ami": &c.SourceAmi, "source_ami": &c.SourceAmi,
"subnet_id": &c.SubnetId, "subnet_id": &c.SubnetId,
"associate_public_ip_address": &c.AssociatePublicIpAddress,
"temporary_key_pair_name": &c.TemporaryKeyPairName, "temporary_key_pair_name": &c.TemporaryKeyPairName,
"vpc_id": &c.VpcId, "vpc_id": &c.VpcId,
"availability_zone": &c.AvailabilityZone, "availability_zone": &c.AvailabilityZone,
......
...@@ -18,7 +18,7 @@ type StepRunSourceInstance struct { ...@@ -18,7 +18,7 @@ type StepRunSourceInstance struct {
SourceAMI string SourceAMI string
IamInstanceProfile string IamInstanceProfile string
SubnetId string SubnetId string
AssociatePublicIpAddress string AssociatePublicIpAddress bool
AvailabilityZone string AvailabilityZone string
BlockDevices BlockDevices BlockDevices BlockDevices
......
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