yba-terraform
Installation
SKILL.md
YugabyteDB Anywhere (YBA) Terraform Provider
This skill generates correct Terraform for the yugabyte/yba provider — the official provider that installs and drives a self-managed YugabyteDB Anywhere control plane.
- Registry: https://registry.terraform.io/providers/yugabyte/yba/latest/docs
- Source: https://github.com/yugabyte/terraform-provider-yba (branch
main) - Current version:
1.0.0(Early Access). Requires YBA stable>= 2024.2.0.0or preview>= 2.23.1.0. Kubernetes universes are not supported by this provider — for those use theyb-k8s-operatorskill.
It is not about:
- The YBA REST API directly — use the
yba-apiskill (this provider calls that API for you). - YugabyteDB Aeon (managed DBaaS) or YSQL/YCQL database access.
Reference files (read before generating non-trivial manifests)
references/prereqs-and-network.md— YBA host VM requirements (CPU/RAM/disk/OS/Python/ports), DB-node requirements, and the aws/gcloud/az CLI commands to discover VPC IDs, subnets-per-zone, security groups, and regions. Read this first when sizing a VM or filling in network IDs.references/cloud-iam-setup.md— Terraform (using theaws/google/azurermproviders, not the yba provider) that creates the IAM user / service account / service principal YBA uses to deploy nodes, with the exact delegated permissions from the Yugabyte docs. Read this when the user needs to grant YBA cloud access.references/install-bootstrap.md— theyba_installerandyba_customer_resourceresources and the two-provider (unauthenticated → authenticated) pattern. Read this when installing YBA or wiring up the API token.references/providers-universe.md— full HCL foryba_aws_provider/yba_gcp_provider/yba_azure_provider/yba_onprem_provider, the four storage-config resources,yba_universe, andyba_backup/yba_backup_schedule/yba_restore. Read this when generating any provider, universe, or backup resource.