-
Notifications
You must be signed in to change notification settings - Fork 37
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
The future #40
Comments
Notable differences, this project has:
tomtucka's adds:
And removes:
So it seems to me this project is further along, with a decent number of users. The poor support from CircleCI, both for their API itself and clients, is the biggest issue facing any/all providers here. Using multiple API clients in a single provider as part of a migration, e.g. community and official or multiple majors, is reasonably common, see one example: https://github.com/DataDog/terraform-provider-datadog/blob/master/datadog/provider.go#L96-L98 I'm curious what actual features users want, and am inclined to work backwards to any gaps in the various API clients. I can see room for:
I don't have a burning need for the |
Guys, following this with interest. I'm using now @TomTucka's provider for now but I would like to start using contexts also. Not trying to make things worse but there is also https://github.com/edahlseng/terraform-provider-circleci :) |
Heya Folks 👋🏻 , Works been super busy, sorry for the late response! I'd prefer to move forward with my version of the provider. Contexts are not yet supported via a go client which is why my project doesn't incorporate them as the Provider developer guide states that you should only use one library. I've also now started using the v2 API. Hopefully, CircleCI will add support for contexts soon and we can then add these into the go-circleci library. I'm currently backfilling the tests, hoping to have this done by Christmas. @bendrucker If all parties want to move forward with this, I'm happy to give @bendrucker and @mrolla contributor status on the repo |
As mentioned above, that's a reasonable default, but not a universally observed rule. Popular providers undergo transitions where certain resources adopt new API client functionality often.
https://circleci.com/docs/api/v2/#tag/Context In "preview" but a complete API!
Terraform configuration strives to be a declarative representation of the remote resource. If you set Terraform does allow for the idea that you'd have an attribute and a discrete resource, but they should conflict such that you might have the following: resource "circleci_project" "foo" {
lifecycle {
ignore_changes = [env_vars]
}
}
resource "circleci_environment_variable" "foo" {
project = circleci_project.foo.id
name = "foo"
value = "bar"
} A common example of this is In any case, more than happy to help. My work uses this provider for contexts and their environment variables so that feature is the most important to me directly. But happy to do some general work as well for complete coverage. I think there's a good opportunity to make some breaking changes and release a new major version for your provider before we look at deprecating this one. |
Continuing the discussion started at #37 about merging efforts.
How do you suggest we proceed @TomTucka?
The text was updated successfully, but these errors were encountered: