Properties
name
string — required
Environment identifier. Must be lowercase, alphanumeric with hyphens only.
releaseChannel
string — optional
Default release channel for installations in this environment. When installations
don’t specify a release channel, they use the environment’s channel.
maintenanceWindow
string — optional
Maintenance window for this environment. Automated deployments will only occur during specified intervals.
config
object — optional
Configuration passed to the Ryvn environment provisioner.
config.region
string — required
GCP region where resources will be provisioned.
config.zones
array — optional
List of zones for the GKE cluster. If not specified, uses default zones for the
region.
config.internal_root_domain
string — optional
Internal root domain for services using internal networking. If not specified, Ryvn
generates a default domain in the format {environment}.{org-slug}.ryvn.internal.
config.public_root_domain
string — optional
Public root domain for services using public networking. If not specified, Ryvn
generates a default domain in the format {environment}.{org-slug}.ryvn.run.
config.subnet_cidr
string — optional
CIDR block for the subnet. Defaults to 10.0.0.0/17.
config.pod_cidr
string — optional
CIDR block for pods. Defaults to 192.168.0.0/18.
config.service_cidr
string — optional
CIDR block for services. Defaults to 192.168.64.0/18.
config.node_pools
object — optional
Map of node pool definitions to create.
config.node_pools_labels
object — optional
Map of node pool labels to apply to each node pool.
config.flow_logs
object — optional
Configuration for VPC flow logs.
config.external_dns_namespace
string — optional
Kubernetes namespace where external-dns is deployed. Defaults to
external-dns.
config.skip_dns_provisioning
boolean — optional
If true, skips provisioning DNS managed zones. Defaults to false.
config.cluster_bootstrap_perms
boolean — optional
If true, grants cluster admin permissions to the Ryvn Agent for initial setup.
Should be disabled after bootstrap. Defaults to false.
config.terraform_executor_policies
object — optional
Additional IAM policies to be added to the Ryvn Agent role. Can specify either
predefined roles or custom permissions. Cannot specify both.
config.terraform_executor_policies.roles
array — optional
List of predefined GCP roles to attach. Cannot be used with permissions.
config.terraform_executor_policies.permissions
array — optional
List of custom permissions to add. If specified, these will override the default
permissions. Cannot be used with roles.
setup
string — optional
Environment setup type. Controls who provisions the environment infrastructure.
Available values:
customer-controlled- Ryvn Provisioner (Compute instance in the customer’s GCP project) provisions the infrastructureself- Ryvn Control Plane uses workload identity to provision the infrastructure (default)
customer-controlled, combine with customerEmail to automatically generate customer invite codes.
customerEmail
string — optional
Email address of the customer admin for this environment. Only used with setup: customer-controlled.
When specified, Ryvn automatically:
- Creates a customer organization and user account
- Sends an invite code to the customer to provision the environment
requireApproval
boolean — optional (default: false)
When true, deployments require approval before executing. See Deployment Approvals.
provider
object — required
GCP provider configuration.
provider.type
string — required
Must be gcp.
provider.projectId
string — optional
GCP project ID where resources will be provisioned.
provider.credentialConfig
string — optional
Credential configuration JSON generated from the workload identity application.
This is a JSON string that contains the credential configuration.
installations
array — optional
List of service installations to deploy in this environment. See
Server, Job,
Helm Chart,
Terraform, and
Blueprint installation documentation for details.
Platform Blueprint Configuration
The GCP platform blueprint (ryvn.app/gcp-platform) accepts the following configuration inputs when installed in an environment:
Observability Configuration
| Input | Type | Default | Description |
|---|---|---|---|
logRedaction | boolean | false | Enable log redaction to remove sensitive information from logs |
redactionPatterns | array | - | Regex patterns for log redaction (available when logRedaction is enabled) |
metrics | boolean | true | Enable metrics collection and forwarding |
Outputs
Environment outputs are available in service installation configs using template syntax. Reference these values to configure services with infrastructure details provisioned by Ryvn..ryvn.env.name
The name of the environment.
.ryvn.env.orgId
The organization ID.
.ryvn.env.defaultNamespace
The default Kubernetes namespace for the environment (typically same as environment name).
.ryvn.env.releaseChannel
The release channel for this environment.
.ryvn.env.provider.type
The provider type (e.g., aws, gcp, azure, k3s).