Update main.tf

3 jobs from master in 9 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Validate
failed #4085
validate

00:00:09

 
  Build
skipped #4086
plan
 
  Deploy
skipped #4087
allowed to fail manual
apply
 
Name Stage Failure
failed
validate Validate
2022/04/26 15:36:06 [DEBUG] GET http://myrest.api.com/foo
2022/04/26 15:36:10 [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:36:10 [DEBUG] GET http://myrest.api.com/foo: retrying in 1s (2 left)
2022/04/26 15:36:11 [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:36:11 [DEBUG] GET http://myrest.api.com/foo: retrying in 2s (1 left)
2022/04/26 15:36:13 [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