Aiven v6.18.0 published on Thursday, Jun 27, 2024 by Pulumi
Aiven
The Aiven provider for Pulumi can be used to provision any of the cloud resources available in Aiven. The Aiven provider must be configured with credentials to deploy and update resources in Aiven.
Example
const aiven = require("@pulumi/aiven")
const service = new aiven.Service("my-new-service", {
project: "my-project",
cloudName: "google-europe-west1",
plan:"startup-4",
serviceName: "my-service",
serviceType: "grafana",
});
import * as aiven from "@pulumi/aiven";
const service = new aiven.Service("my-new-service", {
project: "my-project",
cloudName: "google-europe-west1",
plan:"startup-4",
serviceName: "my-service",
serviceType: "grafana",
});
import pulumi_aiven as aiven
service = aiven.Service("my-service",
project="my-project",
cloud_name="google-europe-west1",
plan="startup-4",
service_name="my-service",
service_type="grafana",
)
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
aiven "github.com/pulumi/pulumi-aiven/sdk/v4/go/aiven"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
service, err := aiven.NewService(ctx, "test", &aiven.ServiceArgs{
Project: pulumi.String("my-project"),
CloudName: pulumi.String("google-europe-west1"),
Plan: pulumi.String("startup-4"),
ServiceName: pulumi.String("my-service"),
ServiceType: pulumi.String("grafana"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Threading.Tasks;
using Pulumi;
using Pulumi.Aiven;
await Deployment.RunAsync(() =>
{
var service = new Servicev1("test", new Servicev1Args
{
Project = "my-project",
CloudName = "google-europe-west1",
Plan = "startup-4",
ServiceName = "my-service",
ServiceType = "grafana",
});
});