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

Add friendly error for when registry unresponsive #20853

Merged
merged 2 commits into from
Mar 28, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Add status link to make message more helpful
pselle committed Mar 27, 2019

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit ff7245f27ceee90abf23d1d0fd8163bd69a6a9ca
2 changes: 2 additions & 0 deletions command/init.go
Original file line number Diff line number Diff line change
@@ -884,6 +884,8 @@ const errDiscoveryServiceUnreachable = `
[reset][bold][red]Registry service unreachable.[reset][red]

This may indicate a network issue, or an issue with the requested Terraform Registry.

Check https://status.hashicorp.com/ for registry status updates.
pselle marked this conversation as resolved.
Show resolved Hide resolved
`

const errProviderNotFound = `