Back to Redis

Index

content/integrate/pulumi-provider-for-redis-cloud/_index.md

latest5.6 KB
Original Source

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]({{< relref "/integrate/terraform-provider-for-redis-cloud/" >}}).

{{<note>}} The Redis Cloud Pulumi Redis Cloud provider supports Redis Cloud Pro. It does not support Redis Cloud Essentials. {{</note>}}

See [Get started with Pulumi]({{< relref "/integrate/pulumi-provider-for-redis-cloud/get-started" >}}) 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. The CloudAccount resource is only available for legacy Redis Cloud integrations. {{</note>}}

  • 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, and AclUser: Rules, Roles, and Users for [Role-based access control]({{< relref "/operate/rc/security/access-control/data-access-control/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. The CloudAccount resource is only available for legacy Redis Cloud integrations. {{</note>}}

  • 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, and GetAclUser: Get the Rules, Roles, and Users for [Role-based access control]({{< relref "/operate/rc/security/access-control/data-access-control/role-based-access-control" >}}).

More info