rso Provider¶
Manage resources in the RSO cloud: virtual machines, serverless apps, managed PostgreSQL, object storage, container registries and service accounts.
Authenticate with a service account created in the console (Service accounts). Every argument can also come from the environment variable named in its description.
Example Usage¶
terraform {
required_providers {
rso = {
source = "theorigamicorporation/rso"
}
}
}
# Credentials come from the environment:
# RSO_TENANT, RSO_SERVICE_ACCOUNT_NAME, RSO_SERVICE_ACCOUNT_SECRET
provider "rso" {}
Schema¶
Optional¶
access_token(String, Sensitive) A ready OAuth access token, instead of a service account.RSO_ACCESS_TOKEN.client_id(String) OAuth2 client id.RSO_CLIENT_ID.cluster(String) Kubernetes cluster of the region, used by apps and PostgreSQL. Defaults totoc-cluster-prod-o4.RSO_CLUSTER.endpoint(String) GraphQL API endpoint. Defaults tohttps://gateway.cloud.rso.dev/graphql.RSO_API_URL.region(String) Region. Defaults toBG_CENTRAL_1.RSO_REGION.service_account_name(String) Service account name.RSO_SERVICE_ACCOUNT_NAME.service_account_secret(String, Sensitive) Service account token, shown once when the account is created or rotated.RSO_SERVICE_ACCOUNT_SECRET.tenant(String) Tenant (organisation) id the resources belong to.RSO_TENANT.token_url(String) OAuth2 token endpoint.RSO_TOKEN_URL.