'Anyone have good examples of Terraform getting a remote json and assigning TF variables as a module to be consumed by multipe .tf projects?
So I'm looking for some good examples of a module where I can remotely grab a json file and assign TF variables inside of a module to be consumed by several different terraform projects.
I'm new to TF and I know you can get he file like this:
module "get-my-json": {
source="https://www.example.com/files/test.json"
}
but need some help in figuring out how to assign these to variables and for that module to be consumed by other tf projects.
Thanks
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
