published on Friday, Jun 5, 2026 by Chronosphere
published on Friday, Jun 5, 2026 by Chronosphere
Workspace-scoped OpsGenie credentials that downstream notifiers and LogScale actions can reference. Centralizes the OpsGenie API key so it isn’t duplicated across individual notifiers; modern equivalent of the per-notifier credentials.
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Pulumi = Chronosphere.Pulumi;
return await Deployment.RunAsync(() =>
{
var opsgenie = new Pulumi.OpsgenieExternalConnection("opsgenie", new()
{
ApiKey = "XXXXX",
ApiUrl = "https://api.opsgenie.com/",
Name = "OpsGenie",
});
});
package main
import (
"github.com/chronosphereio/pulumi-chronosphere/sdk/go/chronosphere"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := chronosphere.NewOpsgenieExternalConnection(ctx, "opsgenie", &chronosphere.OpsgenieExternalConnectionArgs{
ApiKey: pulumi.String("XXXXX"),
ApiUrl: pulumi.String("https://api.opsgenie.com/"),
Name: pulumi.String("OpsGenie"),
})
if err != nil {
return err
}
return nil
})
}
Example coming soon!
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.chronosphere.OpsgenieExternalConnection;
import com.pulumi.chronosphere.OpsgenieExternalConnectionArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var opsgenie = new OpsgenieExternalConnection("opsgenie", OpsgenieExternalConnectionArgs.builder()
.apiKey("XXXXX")
.apiUrl("https://api.opsgenie.com/")
.name("OpsGenie")
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as chronosphere from "@pulumi-chronosphere/pulumi-chronosphere";
const opsgenie = new chronosphere.OpsgenieExternalConnection("opsgenie", {
apiKey: "XXXXX",
apiUrl: "https://api.opsgenie.com/",
name: "OpsGenie",
});
import pulumi
import pulumi_chronosphere as chronosphere
opsgenie = chronosphere.OpsgenieExternalConnection("opsgenie",
api_key="XXXXX",
api_url="https://api.opsgenie.com/",
name="OpsGenie")
resources:
opsgenie:
type: chronosphere:OpsgenieExternalConnection
properties:
apiKey: XXXXX
apiUrl: https://api.opsgenie.com/
name: OpsGenie
Create OpsgenieExternalConnection Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new OpsgenieExternalConnection(name: string, args: OpsgenieExternalConnectionArgs, opts?: CustomResourceOptions);@overload
def OpsgenieExternalConnection(resource_name: str,
args: OpsgenieExternalConnectionArgs,
opts: Optional[ResourceOptions] = None)
@overload
def OpsgenieExternalConnection(resource_name: str,
opts: Optional[ResourceOptions] = None,
name: Optional[str] = None,
api_key: Optional[str] = None,
api_url: Optional[str] = None,
basic_auth_password: Optional[str] = None,
basic_auth_username: Optional[str] = None,
bearer_token: Optional[str] = None,
slug: Optional[str] = None,
tls_insecure_skip_verify: Optional[bool] = None)func NewOpsgenieExternalConnection(ctx *Context, name string, args OpsgenieExternalConnectionArgs, opts ...ResourceOption) (*OpsgenieExternalConnection, error)public OpsgenieExternalConnection(string name, OpsgenieExternalConnectionArgs args, CustomResourceOptions? opts = null)
public OpsgenieExternalConnection(String name, OpsgenieExternalConnectionArgs args)
public OpsgenieExternalConnection(String name, OpsgenieExternalConnectionArgs args, CustomResourceOptions options)
type: chronosphere:OpsgenieExternalConnection
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "chronosphere_opsgenieexternalconnection" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args OpsgenieExternalConnectionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args OpsgenieExternalConnectionArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args OpsgenieExternalConnectionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args OpsgenieExternalConnectionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args OpsgenieExternalConnectionArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var opsgenieExternalConnectionResource = new Pulumi.OpsgenieExternalConnection("opsgenieExternalConnectionResource", new()
{
Name = "string",
ApiKey = "string",
ApiUrl = "string",
BasicAuthPassword = "string",
BasicAuthUsername = "string",
BearerToken = "string",
Slug = "string",
TlsInsecureSkipVerify = false,
});
example, err := chronosphere.NewOpsgenieExternalConnection(ctx, "opsgenieExternalConnectionResource", &chronosphere.OpsgenieExternalConnectionArgs{
Name: pulumi.String("string"),
ApiKey: pulumi.String("string"),
ApiUrl: pulumi.String("string"),
BasicAuthPassword: pulumi.String("string"),
BasicAuthUsername: pulumi.String("string"),
BearerToken: pulumi.String("string"),
Slug: pulumi.String("string"),
TlsInsecureSkipVerify: pulumi.Bool(false),
})
resource "chronosphere_opsgenieexternalconnection" "opsgenieExternalConnectionResource" {
name = "string"
api_key = "string"
api_url = "string"
basic_auth_password = "string"
basic_auth_username = "string"
bearer_token = "string"
slug = "string"
tls_insecure_skip_verify = false
}
var opsgenieExternalConnectionResource = new OpsgenieExternalConnection("opsgenieExternalConnectionResource", OpsgenieExternalConnectionArgs.builder()
.name("string")
.apiKey("string")
.apiUrl("string")
.basicAuthPassword("string")
.basicAuthUsername("string")
.bearerToken("string")
.slug("string")
.tlsInsecureSkipVerify(false)
.build());
opsgenie_external_connection_resource = chronosphere.OpsgenieExternalConnection("opsgenieExternalConnectionResource",
name="string",
api_key="string",
api_url="string",
basic_auth_password="string",
basic_auth_username="string",
bearer_token="string",
slug="string",
tls_insecure_skip_verify=False)
const opsgenieExternalConnectionResource = new chronosphere.OpsgenieExternalConnection("opsgenieExternalConnectionResource", {
name: "string",
apiKey: "string",
apiUrl: "string",
basicAuthPassword: "string",
basicAuthUsername: "string",
bearerToken: "string",
slug: "string",
tlsInsecureSkipVerify: false,
});
type: chronosphere:OpsgenieExternalConnection
properties:
apiKey: string
apiUrl: string
basicAuthPassword: string
basicAuthUsername: string
bearerToken: string
name: string
slug: string
tlsInsecureSkipVerify: false
OpsgenieExternalConnection Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The OpsgenieExternalConnection resource accepts the following input properties:
- Name string
- Display name of the external connection.
- Api
Key string - OpsGenie integration API key used to authenticate alert delivery. Treat as a secret.
- Api
Url string - Base URL of the OpsGenie API. Override to target the EU region or a custom endpoint.
- Basic
Auth stringPassword - Password for HTTP basic auth when calling OpsGenie. Treat as a secret.
- Basic
Auth stringUsername - Username for HTTP basic auth when calling OpsGenie. Mutually exclusive with
bearer_token. - Bearer
Token string - Bearer token sent in the
Authorizationheader when calling OpsGenie. Mutually exclusive with basic auth. Treat as a secret. - Slug string
- Stable identifier for the connection. Generated from
nameif omitted. Immutable after creation. - Tls
Insecure boolSkip Verify - If true, skip TLS certificate verification when calling OpsGenie. Disable only in trusted environments.
- Name string
- Display name of the external connection.
- Api
Key string - OpsGenie integration API key used to authenticate alert delivery. Treat as a secret.
- Api
Url string - Base URL of the OpsGenie API. Override to target the EU region or a custom endpoint.
- Basic
Auth stringPassword - Password for HTTP basic auth when calling OpsGenie. Treat as a secret.
- Basic
Auth stringUsername - Username for HTTP basic auth when calling OpsGenie. Mutually exclusive with
bearer_token. - Bearer
Token string - Bearer token sent in the
Authorizationheader when calling OpsGenie. Mutually exclusive with basic auth. Treat as a secret. - Slug string
- Stable identifier for the connection. Generated from
nameif omitted. Immutable after creation. - Tls
Insecure boolSkip Verify - If true, skip TLS certificate verification when calling OpsGenie. Disable only in trusted environments.
- name string
- Display name of the external connection.
- api_
key string - OpsGenie integration API key used to authenticate alert delivery. Treat as a secret.
- api_
url string - Base URL of the OpsGenie API. Override to target the EU region or a custom endpoint.
- basic_
auth_ stringpassword - Password for HTTP basic auth when calling OpsGenie. Treat as a secret.
- basic_
auth_ stringusername - Username for HTTP basic auth when calling OpsGenie. Mutually exclusive with
bearer_token. - bearer_
token string - Bearer token sent in the
Authorizationheader when calling OpsGenie. Mutually exclusive with basic auth. Treat as a secret. - slug string
- Stable identifier for the connection. Generated from
nameif omitted. Immutable after creation. - tls_
insecure_ boolskip_ verify - If true, skip TLS certificate verification when calling OpsGenie. Disable only in trusted environments.
- name String
- Display name of the external connection.
- api
Key String - OpsGenie integration API key used to authenticate alert delivery. Treat as a secret.
- api
Url String - Base URL of the OpsGenie API. Override to target the EU region or a custom endpoint.
- basic
Auth StringPassword - Password for HTTP basic auth when calling OpsGenie. Treat as a secret.
- basic
Auth StringUsername - Username for HTTP basic auth when calling OpsGenie. Mutually exclusive with
bearer_token. - bearer
Token String - Bearer token sent in the
Authorizationheader when calling OpsGenie. Mutually exclusive with basic auth. Treat as a secret. - slug String
- Stable identifier for the connection. Generated from
nameif omitted. Immutable after creation. - tls
Insecure BooleanSkip Verify - If true, skip TLS certificate verification when calling OpsGenie. Disable only in trusted environments.
- name string
- Display name of the external connection.
- api
Key string - OpsGenie integration API key used to authenticate alert delivery. Treat as a secret.
- api
Url string - Base URL of the OpsGenie API. Override to target the EU region or a custom endpoint.
- basic
Auth stringPassword - Password for HTTP basic auth when calling OpsGenie. Treat as a secret.
- basic
Auth stringUsername - Username for HTTP basic auth when calling OpsGenie. Mutually exclusive with
bearer_token. - bearer
Token string - Bearer token sent in the
Authorizationheader when calling OpsGenie. Mutually exclusive with basic auth. Treat as a secret. - slug string
- Stable identifier for the connection. Generated from
nameif omitted. Immutable after creation. - tls
Insecure booleanSkip Verify - If true, skip TLS certificate verification when calling OpsGenie. Disable only in trusted environments.
- name str
- Display name of the external connection.
- api_
key str - OpsGenie integration API key used to authenticate alert delivery. Treat as a secret.
- api_
url str - Base URL of the OpsGenie API. Override to target the EU region or a custom endpoint.
- basic_
auth_ strpassword - Password for HTTP basic auth when calling OpsGenie. Treat as a secret.
- basic_
auth_ strusername - Username for HTTP basic auth when calling OpsGenie. Mutually exclusive with
bearer_token. - bearer_
token str - Bearer token sent in the
Authorizationheader when calling OpsGenie. Mutually exclusive with basic auth. Treat as a secret. - slug str
- Stable identifier for the connection. Generated from
nameif omitted. Immutable after creation. - tls_
insecure_ boolskip_ verify - If true, skip TLS certificate verification when calling OpsGenie. Disable only in trusted environments.
- name String
- Display name of the external connection.
- api
Key String - OpsGenie integration API key used to authenticate alert delivery. Treat as a secret.
- api
Url String - Base URL of the OpsGenie API. Override to target the EU region or a custom endpoint.
- basic
Auth StringPassword - Password for HTTP basic auth when calling OpsGenie. Treat as a secret.
- basic
Auth StringUsername - Username for HTTP basic auth when calling OpsGenie. Mutually exclusive with
bearer_token. - bearer
Token String - Bearer token sent in the
Authorizationheader when calling OpsGenie. Mutually exclusive with basic auth. Treat as a secret. - slug String
- Stable identifier for the connection. Generated from
nameif omitted. Immutable after creation. - tls
Insecure BooleanSkip Verify - If true, skip TLS certificate verification when calling OpsGenie. Disable only in trusted environments.
Outputs
All input properties are implicitly available as output properties. Additionally, the OpsgenieExternalConnection resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing OpsgenieExternalConnection Resource
Get an existing OpsgenieExternalConnection resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: OpsgenieExternalConnectionState, opts?: CustomResourceOptions): OpsgenieExternalConnection@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
api_key: Optional[str] = None,
api_url: Optional[str] = None,
basic_auth_password: Optional[str] = None,
basic_auth_username: Optional[str] = None,
bearer_token: Optional[str] = None,
name: Optional[str] = None,
slug: Optional[str] = None,
tls_insecure_skip_verify: Optional[bool] = None) -> OpsgenieExternalConnectionfunc GetOpsgenieExternalConnection(ctx *Context, name string, id IDInput, state *OpsgenieExternalConnectionState, opts ...ResourceOption) (*OpsgenieExternalConnection, error)public static OpsgenieExternalConnection Get(string name, Input<string> id, OpsgenieExternalConnectionState? state, CustomResourceOptions? opts = null)public static OpsgenieExternalConnection get(String name, Output<String> id, OpsgenieExternalConnectionState state, CustomResourceOptions options)resources: _: type: chronosphere:OpsgenieExternalConnection get: id: ${id}import {
to = chronosphere_opsgenieexternalconnection.example
id = "${id}"
}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Api
Key string - OpsGenie integration API key used to authenticate alert delivery. Treat as a secret.
- Api
Url string - Base URL of the OpsGenie API. Override to target the EU region or a custom endpoint.
- Basic
Auth stringPassword - Password for HTTP basic auth when calling OpsGenie. Treat as a secret.
- Basic
Auth stringUsername - Username for HTTP basic auth when calling OpsGenie. Mutually exclusive with
bearer_token. - Bearer
Token string - Bearer token sent in the
Authorizationheader when calling OpsGenie. Mutually exclusive with basic auth. Treat as a secret. - Name string
- Display name of the external connection.
- Slug string
- Stable identifier for the connection. Generated from
nameif omitted. Immutable after creation. - Tls
Insecure boolSkip Verify - If true, skip TLS certificate verification when calling OpsGenie. Disable only in trusted environments.
- Api
Key string - OpsGenie integration API key used to authenticate alert delivery. Treat as a secret.
- Api
Url string - Base URL of the OpsGenie API. Override to target the EU region or a custom endpoint.
- Basic
Auth stringPassword - Password for HTTP basic auth when calling OpsGenie. Treat as a secret.
- Basic
Auth stringUsername - Username for HTTP basic auth when calling OpsGenie. Mutually exclusive with
bearer_token. - Bearer
Token string - Bearer token sent in the
Authorizationheader when calling OpsGenie. Mutually exclusive with basic auth. Treat as a secret. - Name string
- Display name of the external connection.
- Slug string
- Stable identifier for the connection. Generated from
nameif omitted. Immutable after creation. - Tls
Insecure boolSkip Verify - If true, skip TLS certificate verification when calling OpsGenie. Disable only in trusted environments.
- api_
key string - OpsGenie integration API key used to authenticate alert delivery. Treat as a secret.
- api_
url string - Base URL of the OpsGenie API. Override to target the EU region or a custom endpoint.
- basic_
auth_ stringpassword - Password for HTTP basic auth when calling OpsGenie. Treat as a secret.
- basic_
auth_ stringusername - Username for HTTP basic auth when calling OpsGenie. Mutually exclusive with
bearer_token. - bearer_
token string - Bearer token sent in the
Authorizationheader when calling OpsGenie. Mutually exclusive with basic auth. Treat as a secret. - name string
- Display name of the external connection.
- slug string
- Stable identifier for the connection. Generated from
nameif omitted. Immutable after creation. - tls_
insecure_ boolskip_ verify - If true, skip TLS certificate verification when calling OpsGenie. Disable only in trusted environments.
- api
Key String - OpsGenie integration API key used to authenticate alert delivery. Treat as a secret.
- api
Url String - Base URL of the OpsGenie API. Override to target the EU region or a custom endpoint.
- basic
Auth StringPassword - Password for HTTP basic auth when calling OpsGenie. Treat as a secret.
- basic
Auth StringUsername - Username for HTTP basic auth when calling OpsGenie. Mutually exclusive with
bearer_token. - bearer
Token String - Bearer token sent in the
Authorizationheader when calling OpsGenie. Mutually exclusive with basic auth. Treat as a secret. - name String
- Display name of the external connection.
- slug String
- Stable identifier for the connection. Generated from
nameif omitted. Immutable after creation. - tls
Insecure BooleanSkip Verify - If true, skip TLS certificate verification when calling OpsGenie. Disable only in trusted environments.
- api
Key string - OpsGenie integration API key used to authenticate alert delivery. Treat as a secret.
- api
Url string - Base URL of the OpsGenie API. Override to target the EU region or a custom endpoint.
- basic
Auth stringPassword - Password for HTTP basic auth when calling OpsGenie. Treat as a secret.
- basic
Auth stringUsername - Username for HTTP basic auth when calling OpsGenie. Mutually exclusive with
bearer_token. - bearer
Token string - Bearer token sent in the
Authorizationheader when calling OpsGenie. Mutually exclusive with basic auth. Treat as a secret. - name string
- Display name of the external connection.
- slug string
- Stable identifier for the connection. Generated from
nameif omitted. Immutable after creation. - tls
Insecure booleanSkip Verify - If true, skip TLS certificate verification when calling OpsGenie. Disable only in trusted environments.
- api_
key str - OpsGenie integration API key used to authenticate alert delivery. Treat as a secret.
- api_
url str - Base URL of the OpsGenie API. Override to target the EU region or a custom endpoint.
- basic_
auth_ strpassword - Password for HTTP basic auth when calling OpsGenie. Treat as a secret.
- basic_
auth_ strusername - Username for HTTP basic auth when calling OpsGenie. Mutually exclusive with
bearer_token. - bearer_
token str - Bearer token sent in the
Authorizationheader when calling OpsGenie. Mutually exclusive with basic auth. Treat as a secret. - name str
- Display name of the external connection.
- slug str
- Stable identifier for the connection. Generated from
nameif omitted. Immutable after creation. - tls_
insecure_ boolskip_ verify - If true, skip TLS certificate verification when calling OpsGenie. Disable only in trusted environments.
- api
Key String - OpsGenie integration API key used to authenticate alert delivery. Treat as a secret.
- api
Url String - Base URL of the OpsGenie API. Override to target the EU region or a custom endpoint.
- basic
Auth StringPassword - Password for HTTP basic auth when calling OpsGenie. Treat as a secret.
- basic
Auth StringUsername - Username for HTTP basic auth when calling OpsGenie. Mutually exclusive with
bearer_token. - bearer
Token String - Bearer token sent in the
Authorizationheader when calling OpsGenie. Mutually exclusive with basic auth. Treat as a secret. - name String
- Display name of the external connection.
- slug String
- Stable identifier for the connection. Generated from
nameif omitted. Immutable after creation. - tls
Insecure BooleanSkip Verify - If true, skip TLS certificate verification when calling OpsGenie. Disable only in trusted environments.
Package Details
- Repository
- chronosphere chronosphereio/pulumi-chronosphere
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
chronosphereTerraform Provider.
published on Friday, Jun 5, 2026 by Chronosphere