Open jkleinlercher opened 5 months ago
https://github.com/metal-stack-cloud/terraform-provider-metal
https://registry.terraform.io/providers/metal-stack-cloud/metal/latest/docs
Authentication:
api key in https://docs.github.com/de/actions/security-guides/using-secrets-in-github-actions
or better
https://docs.github.com/en/actions/deployment/security-hardening-your-deployments/about-security-hardening-with-openid-connect
Github action https://github.com/marketplace/actions/hashicorp-setup-terraform
And how to create a metalstack cluster with terraform see https://github.com/suxess-it/sx-cnp-oss/tree/main/metalstack-resources/tf-project
Get kubeconfig: https://registry.terraform.io/providers/metal-stack-cloud/metal/latest/docs/data-sources/kubeconfig
https://github.com/metal-stack-cloud/terraform-provider-metal
https://registry.terraform.io/providers/metal-stack-cloud/metal/latest/docs