Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Packer
Commits
d9e80803
Commit
d9e80803
authored
11 years ago
by
Mitchell Hashimoto
Browse files
Options
Download
Email Patches
Plain Diff
builder/amazon/common: modify output for AMI copy
parent
98107663
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
builder/amazon/common/step_ami_region_copy.go
+2
-1
builder/amazon/common/step_ami_region_copy.go
with
2 additions
and
1 deletion
+2
-1
builder/amazon/common/step_ami_region_copy.go
+
2
-
1
View file @
d9e80803
...
...
@@ -23,8 +23,9 @@ func (s *StepAMIRegionCopy) Run(state map[string]interface{}) multistep.StepActi
return
multistep
.
ActionContinue
}
ui
.
Say
(
fmt
.
Sprintf
(
"Copying AMI (%s) to other regions..."
,
ami
))
for
_
,
region
:=
range
s
.
Regions
{
ui
.
Say
(
fmt
.
Sprintf
(
"Copying
AMI (%s) to region (%s)..."
,
ami
,
region
))
ui
.
Message
(
fmt
.
Sprintf
(
"Copying
to: %s"
,
region
))
// Connect to the region where the AMI will be copied to
regionconn
:=
ec2
.
New
(
ec2conn
.
Auth
,
aws
.
Regions
[
region
])
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
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