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

doppler_secrets_sync_github_actions #109

Open
avivsalman opened this issue Nov 7, 2024 · 2 comments
Open

doppler_secrets_sync_github_actions #109

avivsalman opened this issue Nov 7, 2024 · 2 comments

Comments

@avivsalman
Copy link

hello

i did not understand how to work with doppler_secrets_sync_github_actions resource, where can i find the integration variable, because when i am trying i got error message from terraform "integration not found".

@avivsalman
Copy link
Author

Hello

I will refine my question, why is there no resource "doppler_integration_github_actions"

because now the only way to handle it is manual..

@nmanoogian
Copy link
Member

Great question! The GitHub Actions integration must be connected via OAuth, which is why it can't be created via the API (or Terraform). The easiest way to manage GitHub Actions syncs is to connect the integration via the Doppler dashboard and then use the Integrations List endpoint to find the integration ID.

Here's a one-liner using your CLI token:

curl --request GET \
     --url https://api.doppler.com/v3/integrations \
     --header 'accept: application/json' \
     --header "Authorization: Bearer $(doppler configure get token --plain)"

You can provide that ID in the integration field for the doppler_secrets_sync_github_actions resource.

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

No branches or pull requests

2 participants