Skip to content

Commit d292d43

Browse files
committed
Merge branch 'feature/dns-from-tfc' into feature/dns-for-lambdas
2 parents dcf19fe + fcaf173 commit d292d43

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

cmd/cli/multiregion/dns.go

+3-2
Original file line numberDiff line numberDiff line change
@@ -233,11 +233,12 @@ func (d *DnsCommand) getAlbValuesFromTfc(ctx context.Context, workspaceName stri
233233
}
234234

235235
for _, item := range outputs.Items {
236+
itemValue, _ := item.Value.(string)
236237
switch item.Name {
237238
case "alb_dns_name":
238-
external = item.Value.(string)
239+
external = itemValue
239240
case "internal_alb_dns_name":
240-
internal = item.Value.(string)
241+
internal = itemValue
241242
}
242243
}
243244
return

0 commit comments

Comments
 (0)