Giter Club home page Giter Club logo

Comments (9)

chorne-togetherwork avatar chorne-togetherwork commented on June 15, 2024 6

Mine was as simple as updating the url to use https, it seems. The semicolon may be part of the original issue, but v1.5 of the provider is also available, so I'm not sure if that would make a difference.

from terraform-provider-grafana.

charlottemach avatar charlottemach commented on June 15, 2024 2

You have a semicolon between your username and password ;, instead of them being separated by a colon :, might make a difference.

from terraform-provider-grafana.

chorne-togetherwork avatar chorne-togetherwork commented on June 15, 2024

Same issue, and as @neocorp said, using the API Token doesn't work either, and that does not require a colon or semicolon.

from terraform-provider-grafana.

shalyng avatar shalyng commented on June 15, 2024

Do you have basic_auth enabled? It seems username/password combo only works with basic_auth enabled.https://grafana.com/docs/grafana/latest/http_api/auth/#basic-auth

from terraform-provider-grafana.

neocorp avatar neocorp commented on June 15, 2024

I've tried with colon, semicolon, added basic_auth_enabled flag and almost every possible combination but no luck. Mine is on https already and also tried with v1.5 of the provider, still no luck. Any help is really appreciated, I'd rather implement these datasources and dashboards with Terraform.

from terraform-provider-grafana.

pascal-hofmann avatar pascal-hofmann commented on June 15, 2024

Maybe some of you are running into this issue: nytm/go-grafana-api#41

Took me a while to figure out, that colons (:) in passwords are not supported right now…

from terraform-provider-grafana.

mlclmj avatar mlclmj commented on June 15, 2024

The colons-in-passwords issue was patched upstream (thanks @pascal-hofmann!) and will be included in the next release.

401 errors typically aren't the fault of the provider itself, though if there's other issues with how we're parsing/passing credentials that'd definitely be something to address

from terraform-provider-grafana.

tonglil avatar tonglil commented on June 15, 2024

This should be fixed when a release of the provided is cut (see #97).

from terraform-provider-grafana.

inkel avatar inkel commented on June 15, 2024

Hi! Thank you for reporting this, and sorry for the long delay it took us to get back in touch.

After careful consideration we're going to close this one, as it refers to outdated versions of both the Grafana provider and Terraform itself.

If you continue to experience this issue please try again with the latest versions of both tools mentioned above, and otherwise reopen this issue.

Thanks for understanding.

from terraform-provider-grafana.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.