Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Attempting to fix up the issue related to artifactory download in the tnctl create revision command,
We had a bug in the code which was cause issues with direct http calls.
This has been removed.
The main issue however was found when dealing with Artifactory assets, using the follow example.
We are getting a 404. Adding a
.zip
to the URL i.e./kash/rds/aws/1.0.0.zip
allowed us to download the zip file. I’m guessing we are missing a headers information which artifactory requires.The second issue comes from the fact that zip is downloaded, BUT extracted into a subfolder in the destination directory - i’ve confirmed the same bahavior when using go-getter binary directory
ls /tmp/test-download . .. terraform-aws-rds
In the URL for the revision we fix this by adding the submodule path i.e.
I’m guessing terraform most be doing something outside of the go-getter li to fix this.