Comments (9)
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.
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.
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.
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.
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.
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.
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.
This should be fixed when a release of the provided is cut (see #97).
from terraform-provider-grafana.
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)
- Add OTLP endpoint to the grafana_cloud_stack resource attributes
- Allow Machine Learning to be Initialized from Terraform
- Allow Grafana SLO to be Initialized from Terraform
- Cloud: Describe the access policy scopes needed
- Issue with Datasource JSON Data that contains HTTP Headers HOT 3
- [Docs] - The Stack Slug Example is missing from the `name` and `slug` Schema Descriptions for `grafana_cloud_stack` Resource and Data Sources
- v2.12.0 preventing plan and applies. HOT 1
- Error on upgrade from 2.11.0 to 2.12.0 HOT 1
- Alerting Mute timings: Add `disable_provenance`
- [Feature Request]: Add a clear error when an instance level resource (not org) is being managed with a token
- [Bug]: data "grafana_cloud_organization" fails, typo in expected JSON key name?
- [Feature Request]: grafana_data_source data allow non-existing datasource HOT 12
- [Bug]: Error after upgrade provider: Error: id "85" does not match expected format. Should be in the format: stackSlug:serviceAccountID HOT 5
- [Bug]: Duplicate PDFs when configuring report formats HOT 2
- [Feature Request]: Ability to fetch all teams and datasources
- [Bug]: Changes to Report Schedule Start Time are not Detected HOT 1
- [Bug]: grafana_folder_permission [GET /access-control/{resource}/{resourceID}] getResourcePermissions (status 400): {} HOT 1
- [Feature Request]: Add "Notify all team members" to types of escalations in `grafana_oncall_escalation`
- [Bug]: Cannot create `grafana_cloud_stack_service_account` without basic role
- [Bug]: terraform trying to change grafana_data_source version HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from terraform-provider-grafana.