Closed vymarkov closed 4 years ago
Hi @vymarkov!
Generally-speaking, Terraform will need credentials for any service it interacts with, because the underlying APIs themselves require those credentials. The error you showed here is being returned by the Scaleway provider itself, because it requires credentials in order to work with the Scaleway API. I'm not familiar with that provider in particular, but based on my experience with other similar providers I expect it is working as intended.
If there's a particular provider that you expect ought to be able to operate without credentials (e.g. because its underlying API has a mode where credentials are not required, etc) then you could potentially open an enhancement request in that provider's repository to request that.
Because these requirements are coming from the providers rather than from Terraform Core itself, there is nothing we could reasonably change in this repository that would change the behavior in the way you suggested. For that reason, I'm going to close this issue. If you believe that the Scaleway provider could potentially offer a useful no-credentials operating mode then you could, if you wish, open an enhancement request in the Scaleway provider repository to describe exactly how you'd expect the Scaleway provider to behave when it's operating without credentials. The Scaleway provider maintainers could then consider your proposal, and potentially implement it without any changes to Terraform Core.
Thanks!
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Terraform Version
Terraform Configuration Files
Debug Output
Crash Output
Expected Behavior
I wanna to create resources (in this example, managed Kubernetes) by using the several providers, for example, DigitalOcean and Scaleway.
I found that Terraform providers required providing correct credentials for provider to operate. But I want to avoid providing credentials for all defined providers within module.
Actual Behavior
Steps to Reproduce
Additional Context
References