1. Packages
  2. ngrok
ngrok v0.0.24 published on Friday, Sep 29, 2023 by Piers Karsenbarg

ngrok

ngrok v0.0.24 published on Friday, Sep 29, 2023 by Piers Karsenbarg

The ngrok provider for Pulumi can be used to provision any of the cloud resources available in ngrok. The ngrok provider must be configured with credentials to deploy and update resources in ngrok.

Example

const ngrok = require("@pierskarsenbarg/ngrok")

const apikey = new ngrok.ApiKey("apikey");
Copy
import * as ngrok from "@pierskarsenbarg/ngrok";

const apikey = new ngrok.ApiKey("apikey");
Copy
import pierskarsenbarg_pulumi_ngrok as ngrok

api_key = ngrok.ApiKey("apikey")
Copy
import (
	"github.com/pierskarsenbarg/pulumi-ngrok/ngrok/go/ngrok"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
        _, err := ngrok.NewApiKey(ctx, "apikey")
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using Pulumi;
using PiersKarsenbarg.Ngrok;
using PiersKarsenbarg.Ngrok.Inputs;

return await Deployment.RunAsync(() =>
{
   var apiKey = new ApiKey("apikey");
});
Copy
ngrok v0.0.24 published on Friday, Sep 29, 2023 by Piers Karsenbarg