Could not retrieve the list of available versions for provider hashicorp/local: could not connect to registry.terraform.io: Failed to request discovery document: Get "https://registry.terraform.io/.well-known/terraform.json": x509: certificate
│ has expired or is not yet valid: current time 2021-04-26T09:25:24-04:00 is before 2021-05-03T20:25:20Z
需要同步一下时间使用命令:
chronyc -a makestep