terraform-provider-github icon indicating copy to clipboard operation
terraform-provider-github copied to clipboard

Terraform validate fails when using app_auth with environment variables

Open hollow opened this issue 3 years ago • 0 comments

When using GitHub App authentication via environment variables terraform validate fails:

provider "github" {
  app_auth {}
}
Validation failed: .
╷
│ Error: Missing required argument
│ 
│   on main.tf line 3, in provider "github":
│    3:   app_auth {}
│ 
│ The argument "id" is required, but no definition was found.
╵
╷
│ Error: Missing required argument
│ 
│   on main.tf line 3, in provider "github":
│    3:   app_auth {}
│ 
│ The argument "installation_id" is required, but no definition was found.
╵
╷
│ Error: Missing required argument
│ 
│   on main.tf line 3, in provider "github":
│    3:   app_auth {}
│ 
│ The argument "pem_file" is required, but no definition was found.

hollow avatar Jul 29 '22 11:07 hollow