-
-
Notifications
You must be signed in to change notification settings - Fork 47
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
pricing for remote state files #3
Comments
Hi! You should copy it from the remote state location and then pass it as an argument to this module (see this example). Here is how you can do this using |
This is really not a good way of doing it IMO. This means you have to download the state before the price, which means you have to do in two terraform modules. One to download the state and another to get the price. It would be a huge improvement to be able to do this in one go. I tried using http module, but seems to not work as expected:
However for some reason this doesn't work: |
@alko89 This is partially related to this open issue - hashicorp/terraform#4149 . Unfortunately, there is no easy solution that I am aware of. |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Hi,
Can you provide an example of how to work with remote state files for the pricing module, please?
The remote state files need credentials so cannot be accessed simply via aws_s3_bucket_object. And as the S3 bucket is private, data http requests fail as well.
Any recommendation on how to deal with this scenario is much appreciated.
Thank you
The text was updated successfully, but these errors were encountered: