> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ubiquex.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Providers

> Cloud providers in ubx — AWS, GCP, Azure, and Kubernetes.

ubx supports AWS, GCP, Azure, and Kubernetes providers via Pulumi's provider ecosystem.

## Provider Detection

ubx automatically detects which providers are needed based on resource types used in your `.iac` files and adds the appropriate npm packages to the generated `package.json`.

| Resource prefix | Provider package       |
| --------------- | ---------------------- |
| `aws_*`         | `@pulumi/aws`          |
| `google_*`      | `@pulumi/gcp`          |
| `azurerm_*`     | `@pulumi/azure-native` |
| Helm/Kustomize  | `@pulumi/kubernetes`   |

## Provider Version Pinning

Use the [`provider`](/v1/language/provider) block to pin versions:

```hcl theme={null}
provider "aws" {
  version = "~> 6.0"
}
```

## Syncing Schemas

```bash theme={null}
ubx schema sync aws      # sync AWS schema
ubx schema sync          # sync all providers
```

## Configuring Credentials

```bash theme={null}
ubx auth aws     # configure AWS
ubx auth gcp     # configure GCP
ubx auth azure   # configure Azure
ubx auth status  # check all providers
```

## Provider Resources

* [AWS Provider](/v1/providers/aws)
* [GCP Provider](/v1/providers/gcp)
* [Azure Provider](/v1/providers/azure)
* [Kubernetes](/v1/providers/kubernetes)
