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

Enable CircleCI project #15

Open
florisvdg opened this issue Mar 8, 2019 · 2 comments
Open

Enable CircleCI project #15

florisvdg opened this issue Mar 8, 2019 · 2 comments

Comments

@florisvdg
Copy link

Would be nice if the provider could enable CircleCI for a repo.

Cleanest interface would probably be something like:

resource "circleci_project" "my_project" {
  name = "${github_repository.my_project.name}"

  environment_variable {
    name  = "MY_SECRET_1"
    value = "${var.my_secret_1}"
  }

  environment_variable {
    name  = "MY_SECRET_2"
    value = "${var.my_secret_2}"
  }
}
@mrolla
Copy link
Owner

mrolla commented Apr 1, 2019

Hey @florisvdg, sorry for the tardy reply, somehow I missed the notification. I'll try and take a look into it and see if it's achievable with the current public api. I'll get back to you asap.

Edit: Ok this is doable and should be pretty straight forward (https://circleci.com/docs/api/#follow-a-new-project-on-circleci).

@kelvintaywl
Copy link

hi folks,

i'm not sure if this is still a want, but I've added support to enable/start a project on my circleci provider:
https://registry.terraform.io/providers/kelvintaywl/circleci/latest/docs/resources/project

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants