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

Fix data source grafana_user description and user_id #391

Merged
merged 3 commits into from Feb 16, 2022

Conversation

pallxk
Copy link
Contributor

@pallxk pallxk commented Feb 16, 2022

Test terraform config

terraform {
  required_providers {
    grafana = {
      source = "grafana/grafana"
    }
  }
}

data "grafana_user" "admin" {
  login = "admin"
}

output "admin_id" {
  value = data.grafana_user.admin.user_id
}

Before

$ terraform output
admin_id = -1

After

$ terraform output
admin_id = 1

@pallxk pallxk requested a review from a team as a code owner February 16, 2022 03:10
@julienduchesne julienduchesne self-assigned this Feb 16, 2022
@julienduchesne
Copy link
Member

Thanks for the fix @pallxk!

@julienduchesne julienduchesne merged commit 317a4a9 into grafana:master Feb 16, 2022
@pallxk pallxk deleted the fix-data-source-grafana-user branch February 17, 2022 00:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants