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
b95a5689
Commit
b95a5689
authored
Oct 23, 2013
by
Mitchell Hashimoto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
builder/amazon: rename availzone to availability zone
parent
7fa797d8
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
builder/amazon/common/run_config.go
builder/amazon/common/run_config.go
+2
-2
builder/amazon/common/step_run_source_instance.go
builder/amazon/common/step_run_source_instance.go
+2
-2
builder/amazon/ebs/builder.go
builder/amazon/ebs/builder.go
+1
-1
No files found.
builder/amazon/common/run_config.go
View file @
b95a5689
...
...
@@ -23,7 +23,7 @@ type RunConfig struct {
SubnetId
string
`mapstructure:"subnet_id"`
TemporaryKeyPairName
string
`mapstructure:"temporary_key_pair_name"`
VpcId
string
`mapstructure:"vpc_id"`
Avail
Zone
string
`mapstructure:"avail
_zone"`
Avail
abilityZone
string
`mapstructure:"availability
_zone"`
// Unexported fields that are calculated from others
sshTimeout
time
.
Duration
...
...
@@ -84,7 +84,7 @@ func (c *RunConfig) Prepare(t *packer.ConfigTemplate) []error {
"subnet_id"
:
&
c
.
SubnetId
,
"temporary_key_pair_name"
:
&
c
.
TemporaryKeyPairName
,
"vpc_id"
:
&
c
.
VpcId
,
"avail
_zone"
:
&
c
.
Avail
Zone
,
"avail
ability_zone"
:
&
c
.
Availability
Zone
,
}
for
n
,
ptr
:=
range
templates
{
...
...
builder/amazon/common/step_run_source_instance.go
View file @
b95a5689
...
...
@@ -18,7 +18,7 @@ type StepRunSourceInstance struct {
SourceAMI
string
IamInstanceProfile
string
SubnetId
string
Avail
Zone
string
Avail
abilityZone
string
BlockDevices
BlockDevices
instance
*
ec2
.
Instance
...
...
@@ -52,7 +52,7 @@ func (s *StepRunSourceInstance) Run(state multistep.StateBag) multistep.StepActi
IamInstanceProfile
:
s
.
IamInstanceProfile
,
SubnetId
:
s
.
SubnetId
,
BlockDevices
:
s
.
BlockDevices
.
BuildLaunchDevices
(),
AvailZone
:
s
.
AvailZone
,
AvailZone
:
s
.
Avail
ability
Zone
,
}
ui
.
Say
(
"Launching a source AWS instance..."
)
...
...
builder/amazon/ebs/builder.go
View file @
b95a5689
...
...
@@ -101,7 +101,7 @@ func (b *Builder) Run(ui packer.Ui, hook packer.Hook, cache packer.Cache) (packe
SourceAMI
:
b
.
config
.
SourceAmi
,
IamInstanceProfile
:
b
.
config
.
IamInstanceProfile
,
SubnetId
:
b
.
config
.
SubnetId
,
Avail
Zone
:
b
.
config
.
Avail
Zone
,
Avail
abilityZone
:
b
.
config
.
Availability
Zone
,
BlockDevices
:
b
.
config
.
BlockDevices
,
},
&
common
.
StepConnectSSH
{
...
...
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