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

Support expression restriction for contexts #62

Open
kelvintaywl opened this issue Mar 14, 2024 · 4 comments
Open

Support expression restriction for contexts #62

kelvintaywl opened this issue Mar 14, 2024 · 4 comments

Comments

@kelvintaywl
Copy link
Owner

CircleCI just released expression-based restrictions on org contexts.
https://circleci.com/docs/contexts/#set-an-expression-restriction

The documented API suggests this can be CRUD-able and thus suitable for Terraform support.

it would be good to support this, perhaps as a new resource, say context_restriction

@AxelRobles
Copy link

What about context project restrictions? Is possible to implement them? https://circleci.com/docs/api/v2/index.html#operation/createContextRestriction

@kelvintaywl
Copy link
Owner Author

hey @AxelRobles yes sure! i think we can also support project restrictions;
I would like to support both if I work on this :)

@AxelRobles
Copy link

@kelvintaywl can I work on the project restrictions? and maybe later I can work on the expression restriction.

@kelvintaywl
Copy link
Owner Author

@AxelRobles sorry for the late reply. Were you able to start on this? Were there blockers?
let me know, and I'm happy to help :)

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

2 participants