You can now manage your Cosmoner project with Terraform. The
provider is published on the
Terraform Registry
as datablock-dev/cosmoner:
terraform {
required_providers {
cosmoner = {
source = "datablock-dev/cosmoner"
version = "~> 0.2"
}
}
}
It manages apps, PostgreSQL databases, Redis databases, object storage
buckets, secrets, variables, webhook endpoints, SSH keys and resource groups,
and can import the ones you already have. It authenticates with the same API
keys as the API, the SDKs and the CLI, and reads the same COSMONER_API_KEY
and COSMONER_PROJECT_ID environment variables.
Resources Terraform creates are billed exactly like ones created in the control panel. See Terraform to get started.