Signalfx Provider: Installation & Configuration
The Pulumi SignalFx provider uses the SignalFx SDK to manage and provision resources.
Installation
The SignalFx provider is available as a package in all Pulumi languages:
- JavaScript/TypeScript:
@pulumi/signalfx
- Python:
pulumi-signalfx
- Go:
github.com/pulumi/pulumi-signalfx/sdk/v5/go/signalfx
- .NET:
Pulumi.Signalfx
- Java:
com.pulumi/signalfx
Configuring Credentials
Pulumi relies on the SignalFx SDK to authenticate requests from your computer to SignalFx. Your credentials are never sent to pulumi.com. The Pulumi SignalFx Provider needs to be configured with SignalFx credentials before it can be used to create resources.
Once the credentials are obtained, there are two ways to communicate your authorization tokens to Pulumi:
Set the environment variables
SFX_AUTH_TOKEN
:$ export SFX_AUTH_TOKEN=XXXXXXXXXXXXXX
Set them using configuration, if you prefer that they be stored alongside your Pulumi stack for easy multi-user access:
$ pulumi config set signalfx:authToken XXXXXXXXXXXXXX --secret
Remember to pass --secret
when setting signalfx:authToken
so that it is properly encrypted. The complete list of
configuration parameters is in the SignalFx provider README.