Typo in "source" syntax: Failed to expand subdir globs #232
Open
Description
The readme currently says you can reference the module like this:
module "image-copy" {
source = "github.com/chainguard-dev/platform-examples/image-copy-gcp/iac?ref=a1b2c3d4"
project_id = "..."
group = "..."
}
But you actually need a second /
between the path and the repo name: https://developer.hashicorp.com/terraform/language/modules/sources#modules-in-package-sub-directories
So the correct syntax would be:
module "image-copy" {
source = "github.com/chainguard-dev/platform-examples//image-copy-gcp/iac?ref=a1b2c3d4"
project_id = "..."
group = "..."
}
Wanted to contribute this but then I noticed #231 so just letting you know here. Thanks!
Metadata
Assignees
Labels
No labels