The resources and data sources of the ews provider for Apps. Setting up the provider: Terraform & OpenTofu.
Resources
dcloud_appA deploy app. Creating it does not deploy it: a deployment is started from git pushes, the console, the CLI or dcloud deploy.
dcloud_app_cache_bindingBinds a managed Valkey cache to an app: every rollout generates {prefix}REDIS_URL and {prefix}VALKEY_URL with the cache's private address. The app's machines must run in the cache's VPC.
dcloud_app_database_bindingBinds a managed database to an app: every rollout generates {prefix}DATABASE_URL and the PG* variables. mode = "app_role" (default) creates a Postgres role of the app's own, its password filed in Secrets; destroying the binding keeps the role and its data.
dcloud_app_domainA custom domain on an app. Point the domain's DNS at the app (an ALIAS dcloud_dns_record does) and Deutsche Cloud issues the certificate.
dcloud_app_envThe whole environment of an app: this resource owns every variable, so a variable set elsewhere is removed on the next apply. Destroying it empties the environment.
dcloud_app_errors_bindingConnects an app to an Error Tracking project: every build and rollout gets SENTRY_DSN, NEXT_PUBLIC_SENTRY_DSN, SENTRY_ENVIRONMENT and SENTRY_RELEASE (the commit); every build also gets a SENTRY_AUTH_TOKEN for source-map upload to this project, minted for that build and revoked when it ends. The DSN is filed in Secrets as a managed entry. A variable the app defines itself wins. Destroying it disconnects; the project is unchanged.
dcloud_app_jobA scheduled job of an app: a command run on a five-field cron schedule (UTC) on one of the app's machines, in the app's image with its environment.
dcloud_app_registry_credentialsThe credentials an app's machines pull its image with from external registries: one resource owns the app's whole set, so a credential added elsewhere is removed on the next apply. Destroying it removes every credential.