Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document Local Development #3

Open
osterman opened this issue Jan 29, 2019 · 0 comments
Open

Document Local Development #3

osterman opened this issue Jan 29, 2019 · 0 comments

Comments

@osterman
Copy link
Member

osterman commented Jan 29, 2019

what

  • Document how to refer to a local file rather than a remote artifact

why

  • When using terraform-external-module-artifact together with lambdas, sometimes for local development it's convenient to refer to a local file rather than an artifact

how to

Just pass the url input with something like file:///my/home/directory/lambda.zip

module "example" {
  source     = "git::https://github.com/cloudposse/terraform-external-module-artifact.git?ref=master"
  filename    = "test.zip"
  git_ref     = "example"
  module_name = "terraform-external-module-artifact"
  module_path = "${path.module}"
  url         = "file:///tmp/artifact.zip"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant