uptimerobot

The uptimerobot connection can be used to access UptimeRobot resources.

connection "uptimerobot" "my_uptimerobot" {
api_key = "u123456-ecaf32fakekey633ff33dd3c445"
}

Arguments

NameTypeRequired?Description
api_keyStringOptionalAPI Key

All arguments are optional, and a uptimerobot connection with no arguments will behave the same as the default connection.

Attributes (Read-Only)

AttributeTypeDescription
envMapA map of the resolved connection-related environment variables (UPTIMEROBOT_API_KEY)

Default Connection

The uptimerobot connection type includes an implicit, default connection (connection.uptimerobot.default) that will be configured to set the api_key to the UPTIMEROBOT_API_KEY environment variable.

connection "uptimerobot" "default" {
api_key = env("UPTIMEROBOT_API_KEY")
}