Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow Machine Learning to be Initialized from Terraform #1363

Open
SeamusGrafana opened this issue Feb 22, 2024 · 0 comments
Open

Allow Machine Learning to be Initialized from Terraform #1363

SeamusGrafana opened this issue Feb 22, 2024 · 0 comments

Comments

@SeamusGrafana
Copy link

Allow Machine Learning to be Initialized from Terraform

Currently, if you deploy a new GrafanaCloud Stack and Machine Learning Resources at the same, the Machine Learning resources will fail to be applied and you get the below;

╷
│ Error: status: 400, body: apiKey not set. Have you initialized the ML plugin?
│ 
│   with module.grafana_supportlab_cloud_stack.grafana_machine_learning_job.ml_usage_dashboard_count,
│   on ../../../../as-code/terraform/modules/grafana_supportlab_cloud_stack/ml_grafanacloud_usage.tf line 48, in resource "grafana_machine_learning_job" "ml_usage_dashboard_count":
│   48: resource "grafana_machine_learning_job" "ml_usage_dashboard_count" {
│ 
╵

It would be great if there was a Resource to allow Machine Learning to be Initialized, similar to the one for Synthetic Monitoring as currently, this requires manual intervention on an initial stack creation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants