-
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Represent all GH org secrets in pulumi #6
Conversation
886ab8f
to
1d1d0c1
Compare
1d1d0c1
to
b97e7a7
Compare
b97e7a7
to
36414d3
Compare
Before I double check each entry in detail, is there a way with pulumi to only run commands against one of the entries in the file, or do we have to do the whole thing? |
It looks like you can use the If it's helpful, there are also all ci these runs that apply only 1-3 resources at a time (I batched changes so that I could verify things were not breaking as secrets got swapped out). |
Awesome. A question for the group, would all of this be clearer if we used separate files per secret? cc @jaimergp |
Ya, I think that's could be nice.
|
That looks good to me. Let's go for it and make sure to put instructions for the updated scheme in the readme. |
Ok so, I was briefly looking into splitting out the pulumi config into different files. But it looks like there is no good, built-in way to do this. Other users have used templating/yaml merging tools to achieve this end. I think that's ok, but maybe a little clunky. Before spending the time to get that working, re-gauging interest in separating out secrets out into their own files. ref: |
That seems clunky. Is there a reason we need one single stack as opposed to separate stacks? |
Yeah I was thinking about this and let's just use one file for now. We can figure out if something better can be done later. |
Could do, though I would lean towards not adopting a stack per secret. I think we get a lot of operational overhead as we adopt more stacks. Mostly around ensuring stack configuration stays consistent, and ensuring users access. And, adding secrets becomes more of a process.
If we adopt a stack per secret, I think the workflow for adding a new secret would be something like:
Using something like the automation api could automate most of these steps away. But, yaml is not one of it's supported languages. |
This PR represents all the conda-forge github org secrets in pulumi. Now, to update any github secret the process is:
push-secrets
workflow