Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

module treats repo_owner as an org, how to treat as user? #39

Open
brietsparks opened this issue Jul 25, 2020 · 1 comment
Open

module treats repo_owner as an org, how to treat as user? #39

brietsparks opened this issue Jul 25, 2020 · 1 comment
Labels
bug 🐛 An issue with the system

Comments

@brietsparks
Copy link

Hello,
I'm trying to build a pipeline that fulls from my github repo. The module thinks my username is an org. I get an error:

GET https://api.github.com/orgs/brietsparks: 404 Not Found []
  on .terraform/modules/ecs_push_pipeline.github_webhooks/main.tf line 7, in provider "github":
   7: provider "github" {

The module block:

module "ecs_push_pipeline" {
  source                = "git::https://github.com/cloudposse/terraform-aws-ecs-codepipeline.git?ref=master"
  name                  = "guestbook-ci"
  region                = var.region
  repo_owner            = "brietsparks"
  repo_name             = "guestbook"
  github_webhooks_token = var.github_webhooks_token
  image_repo_name       = "guestbook"
  branch                = "ci-pract"
  service_name          = "guestbook"
  ecs_cluster_name      = "guestbook"
  privileged_mode       = "true"
}
@brietsparks brietsparks added the bug 🐛 An issue with the system label Jul 25, 2020
@nitrocode
Copy link
Member

It looks like the blocker is in the github provider in https://github.com/cloudposse/terraform-github-repository-webhook currently only supports GitHub organization as an input for the provider. This input looks like it has been deprecated.

I put this pr in to add the owner cloudposse/terraform-github-repository-webhooks#31

Once that's merged then we can bump the module version in this repo and expose the GitHub owner input variable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 An issue with the system
Projects
None yet
Development

No branches or pull requests

2 participants