Update main.tf

3 jobs from master in 7 seconds (queued for 3 seconds)
Status Job ID Name Coverage
  Validate
failed #4079
validate

00:00:07

 
  Build
skipped #4080
plan
 
  Deploy
skipped #4081
allowed to fail manual
apply
 
Name Stage Failure
failed
validate Validate
2022/04/26 15:32:26 [DEBUG] GET http://myrest.api.com/foo
2022/04/26 15:32:27 [ERR] GET http://myrest.api.com/foo request failed: Get "http://myrest.api.com/foo": dial tcp: lookup myrest.api.com: no such host
2022/04/26 15:32:27 [DEBUG] GET http://myrest.api.com/foo: retrying in 1s (2 left)
2022/04/26 15:32:28 [ERR] GET http://myrest.api.com/foo request failed: Get "http://myrest.api.com/foo": dial tcp: lookup myrest.api.com: no such host
2022/04/26 15:32:28 [DEBUG] GET http://myrest.api.com/foo: retrying in 2s (1 left)
2022/04/26 15:32:30 [ERR] GET http://myrest.api.com/foo request failed: Get "http://myrest.api.com/foo": dial tcp: lookup myrest.api.com: no such host
Error refreshing state: Failed to get state: GET http://myrest.api.com/foo giving up after 3 attempts
Cleaning up project directory and file based variables
ERROR: Job failed: exit status 1