Fastly

The Fastly provider for Pulumi can be used to provision any of the cloud resources available in Fastly. The Fastly provider must be configured with credentials to deploy and update resources in Fastly.
See the full API documentation for complete details of the available Fastly provider APIs.
Setup
The Fastly provider supports several options for providing access to Fastly credentials. See the Fastly setup page for details.
Example
typescript
import * as fastly from "@pulumi/fastly";
const service = new fastly.Servicev1("my-service", {
backends: [{
address: "127.0.0.1",
name: "localhost",
port: 80
}],
domains: [{
comment: "demo",
name: "demo.pulumi.com",
}],
forceDestroy: true,
});Libraries
The following packages are available in packager managers:
- JavaScript/TypeScript:
@pulumi/fastly - Python:
pulumi-fastly - Go:
github.com/pulumi/pulumi-fastly/sdk/v3/go/fastly - .NET:
Pulumi.Fastly
The Fastly provider is open source and available in the pulumi/pulumi-fastly repo.