Skip to content

An Fastly Pulumi resource package, providing multi-language access to Fastly

License

Notifications You must be signed in to change notification settings

pulumi/pulumi-fastly

Actions Status Slack NPM version Python version NuGet version PkgGoDev License

Fastly Resource Provider

The Fastly resource provider for Pulumi lets you manage Fastly resources in your cloud programs. To use this package, please install the Pulumi CLI first.

Installing

This package is available in many languages in the standard packaging formats.

Node.js (Java/TypeScript)

To use from JavaScript or TypeScript in Node.js, install using either npm:

$ npm install @pulumi/fastly

or yarn:

$ yarn add @pulumi/fastly

Python

To use from Python, install using pip:

$ pip install pulumi_fastly

Go

To use from Go, use go get to grab the latest version of the library

$ go get github.com/pulumi/pulumi-fastly/sdk/v8

.NET

To use from .NET, install using dotnet add package:

$ dotnet add package Pulumi.Fastly

Configuration

The following configuration points are available:

  • fastly:apiKey - (Required) This is the API key. It must be provided, but it can also be sourced from the FASTLY_API_KEY environment variable
  • fastly:baseUrl - (Optional) This is the API server hostname. It is required if using a private instance of the API and otherwise defaults to the public Fastly production service. It can also be sourced from the FASTLY_API_URL environment variable

Reference

For further information, please visit the Fastly provider docs or for detailed reference documentation, please visit the API docs.