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

Support for generic artifact download #37

Open
pickgr opened this issue Nov 4, 2016 · 0 comments
Open

Support for generic artifact download #37

pickgr opened this issue Nov 4, 2016 · 0 comments

Comments

@pickgr
Copy link
Collaborator

pickgr commented Nov 4, 2016

To date, we have primarily utilized the Atlas artifact registry for pointers to other resources (for example, AMI IDs). There is a growing use case for artifacts with archives attached. The driver for opening this ticket is the versioning of application archives for AWS Lambda.

While upload and indexing in Atlas is fairly straight forward, the Terraform language is lacking either a form of URL interpolation for remote file download or the ability for the Lambda function resource to leverage the Atlas artifact registry. There is support for a versioned S3 bucket, which is a little surprising, as HashiCorp typically positions their solution ahead of alternatives in the beginning. I suspect this feature will be added at some point soon.

To continue down the path of remaining agnostic to our artifact provider and thus keeping our Terraform code generic, the proposed solution for these limitations at this time would be to extend the build framework to support Atlas artifacts that have binaries associated with them. This would function similar to the existing logic for querying and retrieving key values, but would include an additional flag for artifact download and specification of download path.

  • Extend build framework Atlas plug-in to support artifact download
  • Verify with Lambda use case by modeling demonstrating that the artifact could be resolved during a Terraform execution without any race conditions
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