-
Notifications
You must be signed in to change notification settings - Fork 25
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!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels