Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
packer
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kristopher Ruzic
packer
Commits
5cbff00a
Commit
5cbff00a
authored
Nov 26, 2013
by
Nathan Sullivan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
goamz aspects of AssociatePublicIpAddress working now
parent
49a13195
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
builder/amazon/common/run_config.go
builder/amazon/common/run_config.go
+1
-2
builder/amazon/common/step_run_source_instance.go
builder/amazon/common/step_run_source_instance.go
+1
-1
No files found.
builder/amazon/common/run_config.go
View file @
5cbff00a
...
...
@@ -22,7 +22,7 @@ type RunConfig struct {
SecurityGroupId
string
`mapstructure:"security_group_id"`
SecurityGroupIds
[]
string
`mapstructure:"security_group_ids"`
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"`
VpcId
string
`mapstructure:"vpc_id"`
AvailabilityZone
string
`mapstructure:"availability_zone"`
...
...
@@ -92,7 +92,6 @@ func (c *RunConfig) Prepare(t *packer.ConfigTemplate) []error {
"ssh_username"
:
&
c
.
SSHUsername
,
"source_ami"
:
&
c
.
SourceAmi
,
"subnet_id"
:
&
c
.
SubnetId
,
"associate_public_ip_address"
:
&
c
.
AssociatePublicIpAddress
,
"temporary_key_pair_name"
:
&
c
.
TemporaryKeyPairName
,
"vpc_id"
:
&
c
.
VpcId
,
"availability_zone"
:
&
c
.
AvailabilityZone
,
...
...
builder/amazon/common/step_run_source_instance.go
View file @
5cbff00a
...
...
@@ -18,7 +18,7 @@ type StepRunSourceInstance struct {
SourceAMI
string
IamInstanceProfile
string
SubnetId
string
AssociatePublicIpAddress
string
AssociatePublicIpAddress
bool
AvailabilityZone
string
BlockDevices
BlockDevices
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment