mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 10:25:42 +03:00
docs: update s3 urls to use virtual bucket style
In response to https://forums.aws.amazon.com/ann.jspa?annID=6776
This commit is contained in:
@@ -66,8 +66,8 @@ passing in a configuration payload via stdin:
|
||||
```
|
||||
$ cat << EOF | nomad job dispatch video-encode -
|
||||
{
|
||||
"s3-input": "https://s3-us-west-1.amazonaws.com/video-bucket/cb31dabb1",
|
||||
"s3-output": "https://s3-us-west-1.amazonaws.com/video-bucket/a149adbe3",
|
||||
"s3-input": "https://video-bucket.s3-us-west-1.amazonaws.com/cb31dabb1",
|
||||
"s3-output": "https://video-bucket.s3-us-west-1.amazonaws.com/a149adbe3",
|
||||
"input-codec": "mp4",
|
||||
"output-codec": "webm",
|
||||
"quality": "1080p"
|
||||
|
||||
@@ -155,7 +155,7 @@ This example uses path-based notation on a publicly-accessible bucket:
|
||||
|
||||
```hcl
|
||||
artifact {
|
||||
source = "https://s3-us-west-2.amazonaws.com/my-bucket-example/my_app.tar.gz"
|
||||
source = "https://my-bucket-example.s3-us-west-2.amazonaws.com/my_app.tar.gz"
|
||||
}
|
||||
```
|
||||
|
||||
@@ -176,7 +176,7 @@ To force the S3-specific syntax, use the `s3::` prefix:
|
||||
|
||||
```hcl
|
||||
artifact {
|
||||
source = "s3::https://s3-eu-west-1.amazonaws.com/my-bucket-example/my_app.tar.gz"
|
||||
source = "s3::https://my-bucket-example.s3-eu-west-1.amazonaws.com/my_app.tar.gz"
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user