Gettiing Error: Failed to resolve provider packages while running tofu init #2075
-
Hi folks, But, today whenever I am running tofu init it is throwing me below error: tofu init Initializing the backend... Initializing provider plugins...
Below are the content of my file terraform { I tried deleting the entire directory in which my files were there and then created a new directory and ran the same comand but no luck. I tried googling it but nothing much on the internet either. Could anyone please be kind enough to help me in this. Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 10 replies
-
Thanks for reporting this, I believe this is due to you attempting to use OpenTofu from a country which we have blocked access to. You can find more information at the links below. main/README.md#registry-access |
Beta Was this translation helpful? Give feedback.
For some godly reasons, it has started working now.
tofu validate
Success! The configuration is valid.
How to close this thread please?