Skip to content

Default example fails #3777

Closed
Closed

Description

@SomaGallai

Hi, running the default example setup from: examples/default gives a list of different errors that does not make the on-boarding for new users easy.

List of the previously mentioned errors:

│ Error: Missing required argument
│ 
│   on github-runner-spot-instance.tf line 103, in module "webhook_github_app":
│  103: module "webhook_github_app" {
│ 
│ The argument "sqs_build_queue" is required, but no definition was found.
╵
╷
│ Error: Missing required argument
│ 
│   on github-runner-spot-instance.tf line 103, in module "webhook_github_app":
│  103: module "webhook_github_app" {
│ 
│ The argument "enable_ssm_on_runners" is required, but no definition was found.
╵
╷
│ Error: Missing required argument
│ 
│   on github-runner-spot-instance.tf line 103, in module "webhook_github_app":
│  103: module "webhook_github_app" {
│ 
│ The argument "ssm_paths" is required, but no definition was found.
╵
╷
│ Error: Missing required argument
│ 
│   on github-runner-spot-instance.tf line 103, in module "webhook_github_app":
│  103: module "webhook_github_app" {
│ 
│ The argument "aws_region" is required, but no definition was found.
╵
╷
│ Error: Missing required argument
│ 
│   on github-runner-spot-instance.tf line 103, in module "webhook_github_app":
│  103: module "webhook_github_app" {
│ 
│ The argument "s3_runner_binaries" is required, but no definition was found.
╵
╷
│ Error: Missing required argument
│ 
│   on github-runner-spot-instance.tf line 103, in module "webhook_github_app":
│  103: module "webhook_github_app" {
│ 
│ The argument "runner_labels" is required, but no definition was found.
╵
╷
│ Error: Missing required argument
│ 
│   on github-runner-spot-instance.tf line 103, in module "webhook_github_app":
│  103: module "webhook_github_app" {
│ 
│ The argument "enable_organization_runners" is required, but no definition was found.
╵
╷
│ Error: Missing required argument
│ 
│   on github-runner-spot-instance.tf line 103, in module "webhook_github_app":
│  103: module "webhook_github_app" {
│ 
│ The argument "github_app_parameters" is required, but no definition was found.
╵
╷
│ Error: Missing required argument
│ 
│   on github-runner-spot-instance.tf line 103, in module "webhook_github_app":
│  103: module "webhook_github_app" {
│ 
│ The argument "vpc_id" is required, but no definition was found.
╵
╷
│ Error: Missing required argument
│ 
│   on github-runner-spot-instance.tf line 103, in module "webhook_github_app":
│  103: module "webhook_github_app" {
│ 
│ The argument "subnet_ids" is required, but no definition was found.
╵
╷
│ Error: Unsupported argument
│ 
│   on github-runner-spot-instance.tf line 108, in module "webhook_github_app":
│  108:   github_app = {
│ 
│ An argument named "github_app" is not expected here.
╵
╷
│ Error: Unsupported argument
│ 
│   on github-runner-spot-instance.tf line 113, in module "webhook_github_app":
│  113:   webhook_endpoint = module.runners.webhook.endpoint
│ 
│ An argument named "webhook_endpoint" is not expected here.

Activity

  1. npalm commented on Feb 22, 2024

    @npalm
    Member

    Are you sure you are in the correct directory? Are you in examples/default when running terraform apply?

  2. SomaGallai commented on Feb 23, 2024

    @SomaGallai
    Author

    Are you sure you are in the correct directory? Are you in examples/default when running terraform apply?

    The issue came from me trying to use upstream sources instead of the local and wrongly defying the module "webhook_github_app" part with the same source used in the first module, the actual runner part.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions