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
c7912161
Commit
c7912161
authored
Aug 18, 2014
by
Tim Dysinger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use Region not S3Endpoint
parent
70cc5551
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
builder/amazon/instance/builder.go
builder/amazon/instance/builder.go
+1
-1
builder/amazon/instance/step_upload_bundle.go
builder/amazon/instance/step_upload_bundle.go
+2
-2
No files found.
builder/amazon/instance/builder.go
View file @
c7912161
...
...
@@ -75,7 +75,7 @@ func (b *Builder) Prepare(raws ...interface{}) ([]string, error) {
"-s {{.SecretKey}} "
+
"-d {{.BundleDirectory}} "
+
"--batch "
+
"--
url {{.S3Endpoint
}} "
+
"--
region {{.Region
}} "
+
"--retry"
}
...
...
builder/amazon/instance/step_upload_bundle.go
View file @
c7912161
...
...
@@ -11,7 +11,7 @@ type uploadCmdData struct {
BucketName
string
BundleDirectory
string
ManifestPath
string
S3Endpoint
string
Region
string
SecretKey
string
}
...
...
@@ -37,7 +37,7 @@ func (s *StepUploadBundle) Run(state multistep.StateBag) multistep.StepAction {
BucketName
:
config
.
S3Bucket
,
BundleDirectory
:
config
.
BundleDestination
,
ManifestPath
:
manifestPath
,
S3Endpoint
:
region
.
S3Endpoint
,
Region
:
region
.
Name
,
SecretKey
:
config
.
SecretKey
,
})
if
err
!=
nil
{
...
...
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