We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c96948c commit cab0d54Copy full SHA for cab0d54
cmd/cli/multiregion/dns.go
@@ -192,12 +192,14 @@ func (d *DnsCommand) getAlbDnsValuesFromTfc(workspaceName string) (values AlbDns
192
193
w, err := client.Workspaces.Read(ctx, d.tfcOrg, workspaceName)
194
if err != nil {
195
- log.Fatalf("Error reading Terraform workspace %s: %s", workspaceName, err)
+ fmt.Printf("Error reading Terraform workspace %s: %s", workspaceName, err)
196
+ return
197
}
198
199
outputs, err := client.StateVersionOutputs.ReadCurrent(ctx, w.ID)
200
- log.Fatalf("Error reading Terraform state outputs on workspace %s: %s", workspaceName, err)
201
+ fmt.Printf("Error reading Terraform state outputs on workspace %s: %s", workspaceName, err)
202
203
204
205
for _, item := range outputs.Items {
0 commit comments