Open gatici opened 7 months ago
Thanks @gatici! I just skimmed briefly for now. My impression was that cos in its entirety would be one Terraform module. Is there a particular use case this PR is addressing?
Hi Leon, Yes, We need the cos bundle as a Terraform module, that would be perfect if we have it as soon as possible. Besides, Grafana-agent-k8s is part of sdcore bundle. Please see: https://github.com/canonical/sdcore-bundles/blob/552ac796aea231f7e81d2446019e527a7fcd0f12/render_bundle/bundles.py#L42 So we need to deploy Grana Agent charm by Terraform. A Terraform module may include another TF module and could be a part of a higher level TF module. So, creating Grafana Agent TF module could be a starting point.
We will store the grafana-agent-ke8 TF module under this repository temporarily https://github.com/canonical/terraform-juju-sdcore-k8s/pull/4/files. When you had a decision, we can move to it's permanent place.
Feature
This PR adds the Terraform module for the charm. Hence, the charm could be deployed using Terraform.