Using Terraform to Automate Currency Rates into BigQuery

By:

  1. Checkout the code from our Github repo

2. Update the “backend.tf” to use an existing remote bucket in GCS. This allows you to migrate it to a CI/CD pipeline in the future, rather than storing the state on your local machine.

3. Signup for a free plan from OpenExchangeRates and generate an ‘App ID’

4. Update the “variables.tf” with your GCP Project-Id, and OpenExchangeRate App-ID

5. Run Terraform

cd terraform
terraform init
terraform apply

Comments are closed.

Recommended