Viewing docs for Yandex v0.13.0
published on Tuesday, Feb 22, 2022 by DEPRECATED
published on Tuesday, Feb 22, 2022 by DEPRECATED
Yandex
I want to use the Pulumi Yandex package (yandex) in my project.
## Provider details
- Package: yandex
- Version: v0.13.0
- Publisher: DEPRECATED
- Source: pulumi
- Repository: https://github.com/pulumi/pulumi-yandex
Help me get started using this provider. Show me a complete Pulumi program that provisions a common resource, including all necessary configuration and imports.
Viewing docs for Yandex v0.13.0
published on Tuesday, Feb 22, 2022 by DEPRECATED
published on Tuesday, Feb 22, 2022 by DEPRECATED
The Yandex Cloud provider for Pulumi can be used to provision cloud resources available in Yandex Cloud. The Yandex Cloud provider must be configured with credentials to deploy and update resources in Yandex Cloud.
Example
import * as yandex from "@pulumi/yandex";
const defaultVpcNetwork = new yandex.VpcNetwork("pulumi-acc-test");
import pulumi_yandex as yandex
default_vpc_network = yandex.VpcNetwork("default")
import (
"github.com/pulumi/pulumi-yandex/sdk/go/yandex"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := yandex.NewVpcNetwork(ctx, "defaultVpcNetwork", nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Threading.Tasks;
using Pulumi;
using Yandex = Pulumi.Yandex;
class Program
{
static Task Main() =>
Deployment.Run(() => {
var defaultVpcNetwork = new Yandex.VpcNetwork("default", new Yandex.VpcNetworkArgs{});
});
}
Viewing docs for Yandex v0.13.0
published on Tuesday, Feb 22, 2022 by DEPRECATED
published on Tuesday, Feb 22, 2022 by DEPRECATED
