{"id":14986020,"url":"https://github.com/simenandre/pulumi-config","last_synced_at":"2025-04-11T22:52:40.413Z","repository":{"id":37103684,"uuid":"382854099","full_name":"simenandre/pulumi-config","owner":"simenandre","description":"Update your Pulumi configuration in GitHub Actions","archived":false,"fork":false,"pushed_at":"2025-04-09T21:06:55.000Z","size":8247,"stargazers_count":2,"open_issues_count":14,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-11T22:52:24.805Z","etag":null,"topics":["actions","github-actions","pulumi"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/simenandre.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-07-04T13:05:39.000Z","updated_at":"2023-04-21T20:17:28.000Z","dependencies_parsed_at":"2024-04-18T15:36:55.338Z","dependency_job_id":"5d4551ca-e5de-4d16-9e00-e89889d29b20","html_url":"https://github.com/simenandre/pulumi-config","commit_stats":{"total_commits":78,"total_committers":6,"mean_commits":13.0,"dds":"0.47435897435897434","last_synced_commit":"71b6bb4d7d7312199388c9b0fc669025e154854d"},"previous_names":["cobraz/pulumi-config"],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simenandre%2Fpulumi-config","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simenandre%2Fpulumi-config/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simenandre%2Fpulumi-config/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simenandre%2Fpulumi-config/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simenandre","download_url":"https://codeload.github.com/simenandre/pulumi-config/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248492965,"owners_count":21113161,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["actions","github-actions","pulumi"],"created_at":"2024-09-24T14:12:08.889Z","updated_at":"2025-04-11T22:52:40.382Z","avatar_url":"https://github.com/simenandre.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg\n    src=\"/.github/logo.svg\"\n    width=\"96\"\n    height=\"96\"\n  /\u003e\n\u003c/p\u003e\n\n\u003ch1 align=\"center\"\u003esimenandre/pulumi-config\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cstrong\u003eUpdate Pulumi configuration with Github Actions\u003c/strong\u003e\n\u003c/p\u003e\n\n\\\nThis [Github Actions][] uses [Pulumi Automation API][] to update your stack configuration.\nUseful when you need to automate changes!\n\n[github actions]: https://github.com/features/actions\n[pulumi automation api]: https://www.pulumi.com/blog/automation-api/\n\n---\n\nBuilt to make it easier and safer to update Pulumi configurations with Github\nActions. Pulumi CLI is no longer needed – your workflow gets less cluttered and\neasier to read.\n\n- ⚙️ Uses Pulumi to update config.\n- 🔒 Supports secrets! (also hidden from log output)\n- 📤 Reads configuration as output\n\n## Getting Started\n\n```yaml\njobs:\n  bump-tag:\n    name: Update tag\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - uses: simenandre/pulumi-config@v2\n        with:\n          stack-name: dev\n          key: unleash.tag\n          value: ${{ steps.something.new-tag }}\n        env:\n          PULUMI_ACCESS_TOKEN: ${{ secrets.PULUMI_ACCESS_TOKEN }}\n```\n\n## Configuration\n\n- `stack-name`: Which stack you want to apply to, e.g. `dev`. (Required)\n- `key`: Set key value. e.g: `service-name.tag`\n- `value`: Value to set\n- `work-dir`: Location of your Pulumi files (Default is `./`)\n- `secret`: Store the config value as secret and hide it from output (Default is\n  `false`)\n- `cloud-url`: A cloud URL to log in to.\n\n## Outputs\n\nIf `key` is set, the function will return that key as a simple output. That\ncould look something like this:\n\n```yaml\njobs:\n  get-tag:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - uses: simenandre/pulumi-config@v2\n        id: config\n        with:\n          stack-name: dev\n          key: unleash.tag\n      - run: echo ${{ steps.config.outputs.key }}\n```\n\nBut you can also get the whole configuration, like this:\n\n```yaml\njobs:\n  get-tag:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - uses: simenandre/pulumi-config@v2\n        id: config\n        with:\n          stack-name: dev\n          key: unleash.tag\n      - run: echo ${{ fromJson(steps.config.outputs.config).unleash.tag }}\n```\n\n## Contribute\n\nFeel free to open an issue or pull request. The Todoist Action is still\nexperimental, help us get is stable! Feedback is much appreciated!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimenandre%2Fpulumi-config","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimenandre%2Fpulumi-config","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimenandre%2Fpulumi-config/lists"}