Only path-style S3 URLs are supported.
The go-getter library that is used by the module loader validates S3 URLs in the parseURL function. That function assumes path-style URLs and fails on virtual-hosted-style URLs.
This commit is contained in:
parent
0ff04b1232
commit
9f3ed9ddf2
|
@ -331,7 +331,7 @@ module "vpc" {
|
|||
|
||||
You can use archives stored in S3 as module sources using the special `s3::`
|
||||
prefix, followed by
|
||||
[an S3 bucket object URL](http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingBucket.html#access-bucket-intro).
|
||||
[a path-style S3 bucket object URL](http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingBucket.html#access-bucket-intro).
|
||||
|
||||
```hcl
|
||||
module "consul" {
|
||||
|
|
Loading…
Reference in New Issue