-
Notifications
You must be signed in to change notification settings - Fork 270
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
Missing registry_credentials in digitalocean_app.service.image for registry_type = "GHCR" #1132
Comments
Can I help somehow? I wasn't able to find anything about the credentials in the api docs for the DO api. Maybe I am blind, if there is something, can you point me to it? Implementing this should be easy then., |
Hi @matthiasbruns, Sorry for the delayed response. It looks like I've reached out to the App Platform team to get it included in the App Spec and API referance docs. I've also opened a PR (#1137) to help address this. Though
So it requires manually changing the value in the Terraform configuration to the returned encrypted one or using a lifecycle {
ignore_changes = [
spec.0.service.0.image["registry_credentials"]
]
} |
Closed via #1137 |
Thank you for hinting me to the spec entry :) |
Is your feature request related to a problem? Please describe.
I am using GitHub packages to deploy to DigitalOcean App Platform. I want to switch from manual UI configuration to terraform but hit a roadblock.
Since our packages registry is private, I used to configure the deployment with "username:api_key" for the GitHub access.
There is no such option in the app provider.
Describe the solution you'd like
Describe alternatives you've considered
My current solution is to deploy the app via terraform, let the build fail on DigitalOcean and configure the credentials in the UI afterwards. But when the Spec has to change due to a change in terraform, this will break and registry_credentials will be gone again.
Additional context
digitalocean_app
The text was updated successfully, but these errors were encountered: