clincha / ElasticStar

A python script to automate the input of financial data from my bank account into the Elastic Stack
3 stars 0 forks source link

Create development environment #8

Closed clincha closed 1 year ago

clincha commented 1 year ago

Create a pipeline that makes a development environment and stores the credentials centrally so that I am able to quickly spin up new instances to test with. Ideally this should lead on to some work that creates a basic dashboard and some users

clincha commented 1 year ago

This ticket will be the wrap up for the project.

clincha commented 1 year ago

On first runs:

  1. Create the infrastructure in the Elastic Cloud
  2. Set the credentials to be used on later runs
  3. Update the transaction data

On subsequent runs:

  1. Ensure infrastructure is present
  2. Get credentials for existing infrastructure
  3. Update the transaction data
clincha commented 1 year ago

I can use Terraform to handle the infrastructure.

https://registry.terraform.io/providers/elastic/ec/latest/docs/resources/ec_deployment https://registry.terraform.io/providers/integrations/github/latest/docs/resources/actions_secret

Then the Python code doesn't need to interact with Google or the Elastic Cloud. That work can be offloaded to Terraform