Pulumi provider for Redis Cloud
Explains how to use Pulumi to provision Redis Cloud infrastructure
Pulumi is an automation tool that allows you to easily provision infrastructure as code. Pulumi allows developers to write infrastructure code using programming languages rather than using domain-specific languages.
With the Redis Cloud Resource Provider, you can create Redis Cloud resources in a programming language. The Pulumi Redis Cloud Provider supports the following programming languages:
- TypeScript
- Python
- C#
- Java
- Go
- YAML
The Redis Cloud Pulumi provider is based on the Redis Cloud Terraform provider.
See Get started with Pulumi for an example of how to use the Pulumi provider with Python.
Resources and functions
Pulumi resources represent the fundamental units that make up cloud infrastructure. A provider can make functions available in its SDK and resource types. These functions are often used to acquire information that is not part of a resource.
The Redis Cloud Pulumi provider allows for the following resources:
-
Subscription
: The basic building block of a Redis Cloud subscription. -
SubscriptionDatabase
: Represents a Redis database which belongs to a specific Redis Cloud subscription. -
SubscriptionPeering
: A VPC peering connection (AWS or GCP) to a specific Redis Cloud subscription. -
CloudAccount
: Represents an AWS account in which you want to deploy Redis Cloud infrastructure components.Note:The "bring your own AWS account" option for Redis Cloud has been deprecated. TheCloudAccount
resource is only available for legacy Redis Cloud integrations. -
ActiveActiveSubscription
: The basic building block of an active-active Redis Cloud subscription. -
ActiveActiveSubscriptionDatabase
: Represents a Redis database which belongs to a specific Redis Cloud active-active subscription. -
ActiveActiveSubscriptionRegions
: The different regions where the active-active subscription will be deployed. -
ActiveActiveSubscriptionPeering
: A VPC peering connection (AWS or GCP) to a specific Redis Cloud active-active subscription. -
AclRule
,AclRole
, andAclUser
: Rules, Roles, and Users for Role-based access control.
It also allows for the following functions:
-
GetCloudAccount
: Get the information related to the AWS account.Note:The "bring your own AWS account" option for Redis Cloud has been deprecated. TheCloudAccount
resource is only available for legacy Redis Cloud integrations. -
GetDataPersistence
: Get the type of database persistence. -
GetDatabase
: Get the information related to a specific database. -
GetDatabaseModules
: Get the capabilities for a specific database. -
GetPaymentMethod
: Get the payment method related to the Redis Cloud account. -
GetRegions
: Get the regions related to an active-active subscription -
GetSubscription
: Get the information related to a specific subscription. -
GetSubscriptionPeerings
: Get the VPC peerings (AWS or GCP) related to a specific subscription. -
GetAclRule
,GetAclRole
, andGetAclUser
: Get the Rules, Roles, and Users for Role-based access control.