1. Packages
  2. Grafana Cloud
  3. API Docs
  4. Provider
Grafana v0.16.3 published on Monday, Apr 7, 2025 by pulumiverse

grafana.Provider

Explore with Pulumi AI

The provider type for the grafana package. By default, resources use package-wide configuration settings, however an explicit Provider instance may be created and passed during resource construction to achieve fine-grained programmatic control over provider settings. See the documentation for more information.

Create Provider Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
@overload
def Provider(resource_name: str,
             args: Optional[ProviderArgs] = None,
             opts: Optional[ResourceOptions] = None)

@overload
def Provider(resource_name: str,
             opts: Optional[ResourceOptions] = None,
             auth: Optional[str] = None,
             ca_cert: Optional[str] = None,
             cloud_access_policy_token: Optional[str] = None,
             cloud_api_url: Optional[str] = None,
             cloud_provider_access_token: Optional[str] = None,
             cloud_provider_url: Optional[str] = None,
             connections_api_access_token: Optional[str] = None,
             connections_api_url: Optional[str] = None,
             fleet_management_auth: Optional[str] = None,
             fleet_management_url: Optional[str] = None,
             frontend_o11y_api_access_token: Optional[str] = None,
             http_headers: Optional[Mapping[str, str]] = None,
             insecure_skip_verify: Optional[bool] = None,
             oncall_access_token: Optional[str] = None,
             oncall_url: Optional[str] = None,
             retries: Optional[int] = None,
             retry_status_codes: Optional[Sequence[str]] = None,
             retry_wait: Optional[int] = None,
             sm_access_token: Optional[str] = None,
             sm_url: Optional[str] = None,
             store_dashboard_sha256: Optional[bool] = None,
             tls_cert: Optional[str] = None,
             tls_key: Optional[str] = None,
             url: Optional[str] = None)
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
public Provider(String name, ProviderArgs args)
public Provider(String name, ProviderArgs args, CustomResourceOptions options)
type: pulumi:providers:grafana
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args ProviderArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args ProviderArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args ProviderArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args ProviderArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. ProviderArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Provider 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 Provider resource accepts the following input properties:

Auth string
API token, basic auth in the username:password format or anonymous (string literal). May alternatively be set via the GRAFANA_AUTH environment variable. It can also be sourced from the following environment variable: GRAFANA_AUTH
CaCert string
Certificate CA bundle (file path or literal value) to use to verify the Grafana server's certificate. May alternatively be set via the GRAFANA_CA_CERT environment variable. It can also be sourced from the following environment variable: GRAFANA_CA_CERT
CloudAccessPolicyToken string
Access Policy Token for Grafana Cloud. May alternatively be set via the GRAFANA_CLOUD_ACCESS_POLICY_TOKEN environment variable. It can also be sourced from the following environment variable: GRAFANA_CLOUD_ACCESS_POLICY_TOKEN
CloudApiUrl string
Grafana Cloud's API URL. May alternatively be set via the GRAFANA_CLOUD_API_URL environment variable. It can also be sourced from the following environment variable: GRAFANA_CLOUD_API_URL
CloudProviderAccessToken string
A Grafana Cloud Provider access token. May alternatively be set via the GRAFANA_CLOUD_PROVIDER_ACCESS_TOKEN environment variable.
CloudProviderUrl string
A Grafana Cloud Provider backend address. May alternatively be set via the GRAFANA_CLOUD_PROVIDER_URL environment variable.
ConnectionsApiAccessToken string
A Grafana Connections API access token. May alternatively be set via the GRAFANA_CONNECTIONS_API_ACCESS_TOKEN environment variable.
ConnectionsApiUrl string
A Grafana Connections API address. May alternatively be set via the GRAFANA_CONNECTIONS_API_URL environment variable.
FleetManagementAuth string
A Grafana Fleet Management basic auth in the username:password format. May alternatively be set via the GRAFANA_FLEET_MANAGEMENT_AUTH environment variable.
FleetManagementUrl string
A Grafana Fleet Management API address. May alternatively be set via the GRAFANA_FLEET_MANAGEMENT_URL environment variable.
FrontendO11yApiAccessToken string
A Grafana Frontend Observability API access token. May alternatively be set via the GRAFANA_FRONTEND_O11Y_API_ACCESS_TOKEN environment variable.
HttpHeaders Dictionary<string, string>
Optional. HTTP headers mapping keys to values used for accessing the Grafana and Grafana Cloud APIs. May alternatively be set via the GRAFANA_HTTP_HEADERS environment variable in JSON format.
InsecureSkipVerify bool
Skip TLS certificate verification. May alternatively be set via the GRAFANA_INSECURE_SKIP_VERIFY environment variable. It can also be sourced from the following environment variable: GRAFANA_INSECURE_SKIP_VERIFY
OncallAccessToken string
A Grafana OnCall access token. May alternatively be set via the GRAFANA_ONCALL_ACCESS_TOKEN environment variable. It can also be sourced from the following environment variable: GRAFANA_ONCALL_ACCESS_TOKEN
OncallUrl string
An Grafana OnCall backend address. May alternatively be set via the GRAFANA_ONCALL_URL environment variable. It can also be sourced from the following environment variable: GRAFANA_ONCALL_URL
Retries int
The amount of retries to use for Grafana API and Grafana Cloud API calls. May alternatively be set via the GRAFANA_RETRIES environment variable. It can also be sourced from the following environment variable: GRAFANA_RETRIES
RetryStatusCodes List<string>
The status codes to retry on for Grafana API and Grafana Cloud API calls. Use x as a digit wildcard. Defaults to 429 and 5xx. May alternatively be set via the GRAFANA_RETRY_STATUS_CODES environment variable.
RetryWait int
The amount of time in seconds to wait between retries for Grafana API and Grafana Cloud API calls. May alternatively be set via the GRAFANA_RETRY_WAIT environment variable. It can also be sourced from the following environment variable: GRAFANA_RETRY_WAIT
SmAccessToken string
A Synthetic Monitoring access token. May alternatively be set via the GRAFANA_SM_ACCESS_TOKEN environment variable. It can also be sourced from the following environment variable: GRAFANA_SM_ACCESS_TOKEN
SmUrl string
It can also be sourced from the following environment variable: GRAFANA_SM_URL
StoreDashboardSha256 bool
Set to true if you want to save only the sha256sum instead of complete dashboard model JSON in the tfstate. It can also be sourced from the following environment variable: GRAFANA_STORE_DASHBOARD_SHA256
TlsCert string
Client TLS certificate (file path or literal value) to use to authenticate to the Grafana server. May alternatively be set via the GRAFANA_TLS_CERT environment variable. It can also be sourced from the following environment variable: GRAFANA_TLS_CERT
TlsKey string
Client TLS key (file path or literal value) to use to authenticate to the Grafana server. May alternatively be set via the GRAFANA_TLS_KEY environment variable. It can also be sourced from the following environment variable: GRAFANA_TLS_KEY
Url string
The root URL of a Grafana server. May alternatively be set via the GRAFANA_URL environment variable. It can also be sourced from the following environment variable: GRAFANA_URL
Auth string
API token, basic auth in the username:password format or anonymous (string literal). May alternatively be set via the GRAFANA_AUTH environment variable. It can also be sourced from the following environment variable: GRAFANA_AUTH
CaCert string
Certificate CA bundle (file path or literal value) to use to verify the Grafana server's certificate. May alternatively be set via the GRAFANA_CA_CERT environment variable. It can also be sourced from the following environment variable: GRAFANA_CA_CERT
CloudAccessPolicyToken string
Access Policy Token for Grafana Cloud. May alternatively be set via the GRAFANA_CLOUD_ACCESS_POLICY_TOKEN environment variable. It can also be sourced from the following environment variable: GRAFANA_CLOUD_ACCESS_POLICY_TOKEN
CloudApiUrl string
Grafana Cloud's API URL. May alternatively be set via the GRAFANA_CLOUD_API_URL environment variable. It can also be sourced from the following environment variable: GRAFANA_CLOUD_API_URL
CloudProviderAccessToken string
A Grafana Cloud Provider access token. May alternatively be set via the GRAFANA_CLOUD_PROVIDER_ACCESS_TOKEN environment variable.
CloudProviderUrl string
A Grafana Cloud Provider backend address. May alternatively be set via the GRAFANA_CLOUD_PROVIDER_URL environment variable.
ConnectionsApiAccessToken string
A Grafana Connections API access token. May alternatively be set via the GRAFANA_CONNECTIONS_API_ACCESS_TOKEN environment variable.
ConnectionsApiUrl string
A Grafana Connections API address. May alternatively be set via the GRAFANA_CONNECTIONS_API_URL environment variable.
FleetManagementAuth string
A Grafana Fleet Management basic auth in the username:password format. May alternatively be set via the GRAFANA_FLEET_MANAGEMENT_AUTH environment variable.
FleetManagementUrl string
A Grafana Fleet Management API address. May alternatively be set via the GRAFANA_FLEET_MANAGEMENT_URL environment variable.
FrontendO11yApiAccessToken string
A Grafana Frontend Observability API access token. May alternatively be set via the GRAFANA_FRONTEND_O11Y_API_ACCESS_TOKEN environment variable.
HttpHeaders map[string]string
Optional. HTTP headers mapping keys to values used for accessing the Grafana and Grafana Cloud APIs. May alternatively be set via the GRAFANA_HTTP_HEADERS environment variable in JSON format.
InsecureSkipVerify bool
Skip TLS certificate verification. May alternatively be set via the GRAFANA_INSECURE_SKIP_VERIFY environment variable. It can also be sourced from the following environment variable: GRAFANA_INSECURE_SKIP_VERIFY
OncallAccessToken string
A Grafana OnCall access token. May alternatively be set via the GRAFANA_ONCALL_ACCESS_TOKEN environment variable. It can also be sourced from the following environment variable: GRAFANA_ONCALL_ACCESS_TOKEN
OncallUrl string
An Grafana OnCall backend address. May alternatively be set via the GRAFANA_ONCALL_URL environment variable. It can also be sourced from the following environment variable: GRAFANA_ONCALL_URL
Retries int
The amount of retries to use for Grafana API and Grafana Cloud API calls. May alternatively be set via the GRAFANA_RETRIES environment variable. It can also be sourced from the following environment variable: GRAFANA_RETRIES
RetryStatusCodes []string
The status codes to retry on for Grafana API and Grafana Cloud API calls. Use x as a digit wildcard. Defaults to 429 and 5xx. May alternatively be set via the GRAFANA_RETRY_STATUS_CODES environment variable.
RetryWait int
The amount of time in seconds to wait between retries for Grafana API and Grafana Cloud API calls. May alternatively be set via the GRAFANA_RETRY_WAIT environment variable. It can also be sourced from the following environment variable: GRAFANA_RETRY_WAIT
SmAccessToken string
A Synthetic Monitoring access token. May alternatively be set via the GRAFANA_SM_ACCESS_TOKEN environment variable. It can also be sourced from the following environment variable: GRAFANA_SM_ACCESS_TOKEN
SmUrl string
It can also be sourced from the following environment variable: GRAFANA_SM_URL
StoreDashboardSha256 bool
Set to true if you want to save only the sha256sum instead of complete dashboard model JSON in the tfstate. It can also be sourced from the following environment variable: GRAFANA_STORE_DASHBOARD_SHA256
TlsCert string
Client TLS certificate (file path or literal value) to use to authenticate to the Grafana server. May alternatively be set via the GRAFANA_TLS_CERT environment variable. It can also be sourced from the following environment variable: GRAFANA_TLS_CERT
TlsKey string
Client TLS key (file path or literal value) to use to authenticate to the Grafana server. May alternatively be set via the GRAFANA_TLS_KEY environment variable. It can also be sourced from the following environment variable: GRAFANA_TLS_KEY
Url string
The root URL of a Grafana server. May alternatively be set via the GRAFANA_URL environment variable. It can also be sourced from the following environment variable: GRAFANA_URL
auth String
API token, basic auth in the username:password format or anonymous (string literal). May alternatively be set via the GRAFANA_AUTH environment variable. It can also be sourced from the following environment variable: GRAFANA_AUTH
caCert String
Certificate CA bundle (file path or literal value) to use to verify the Grafana server's certificate. May alternatively be set via the GRAFANA_CA_CERT environment variable. It can also be sourced from the following environment variable: GRAFANA_CA_CERT
cloudAccessPolicyToken String
Access Policy Token for Grafana Cloud. May alternatively be set via the GRAFANA_CLOUD_ACCESS_POLICY_TOKEN environment variable. It can also be sourced from the following environment variable: GRAFANA_CLOUD_ACCESS_POLICY_TOKEN
cloudApiUrl String
Grafana Cloud's API URL. May alternatively be set via the GRAFANA_CLOUD_API_URL environment variable. It can also be sourced from the following environment variable: GRAFANA_CLOUD_API_URL
cloudProviderAccessToken String
A Grafana Cloud Provider access token. May alternatively be set via the GRAFANA_CLOUD_PROVIDER_ACCESS_TOKEN environment variable.
cloudProviderUrl String
A Grafana Cloud Provider backend address. May alternatively be set via the GRAFANA_CLOUD_PROVIDER_URL environment variable.
connectionsApiAccessToken String
A Grafana Connections API access token. May alternatively be set via the GRAFANA_CONNECTIONS_API_ACCESS_TOKEN environment variable.
connectionsApiUrl String
A Grafana Connections API address. May alternatively be set via the GRAFANA_CONNECTIONS_API_URL environment variable.
fleetManagementAuth String
A Grafana Fleet Management basic auth in the username:password format. May alternatively be set via the GRAFANA_FLEET_MANAGEMENT_AUTH environment variable.
fleetManagementUrl String
A Grafana Fleet Management API address. May alternatively be set via the GRAFANA_FLEET_MANAGEMENT_URL environment variable.
frontendO11yApiAccessToken String
A Grafana Frontend Observability API access token. May alternatively be set via the GRAFANA_FRONTEND_O11Y_API_ACCESS_TOKEN environment variable.
httpHeaders Map<String,String>
Optional. HTTP headers mapping keys to values used for accessing the Grafana and Grafana Cloud APIs. May alternatively be set via the GRAFANA_HTTP_HEADERS environment variable in JSON format.
insecureSkipVerify Boolean
Skip TLS certificate verification. May alternatively be set via the GRAFANA_INSECURE_SKIP_VERIFY environment variable. It can also be sourced from the following environment variable: GRAFANA_INSECURE_SKIP_VERIFY
oncallAccessToken String
A Grafana OnCall access token. May alternatively be set via the GRAFANA_ONCALL_ACCESS_TOKEN environment variable. It can also be sourced from the following environment variable: GRAFANA_ONCALL_ACCESS_TOKEN
oncallUrl String
An Grafana OnCall backend address. May alternatively be set via the GRAFANA_ONCALL_URL environment variable. It can also be sourced from the following environment variable: GRAFANA_ONCALL_URL
retries Integer
The amount of retries to use for Grafana API and Grafana Cloud API calls. May alternatively be set via the GRAFANA_RETRIES environment variable. It can also be sourced from the following environment variable: GRAFANA_RETRIES
retryStatusCodes List<String>
The status codes to retry on for Grafana API and Grafana Cloud API calls. Use x as a digit wildcard. Defaults to 429 and 5xx. May alternatively be set via the GRAFANA_RETRY_STATUS_CODES environment variable.
retryWait Integer
The amount of time in seconds to wait between retries for Grafana API and Grafana Cloud API calls. May alternatively be set via the GRAFANA_RETRY_WAIT environment variable. It can also be sourced from the following environment variable: GRAFANA_RETRY_WAIT
smAccessToken String
A Synthetic Monitoring access token. May alternatively be set via the GRAFANA_SM_ACCESS_TOKEN environment variable. It can also be sourced from the following environment variable: GRAFANA_SM_ACCESS_TOKEN
smUrl String
It can also be sourced from the following environment variable: GRAFANA_SM_URL
storeDashboardSha256 Boolean
Set to true if you want to save only the sha256sum instead of complete dashboard model JSON in the tfstate. It can also be sourced from the following environment variable: GRAFANA_STORE_DASHBOARD_SHA256
tlsCert String
Client TLS certificate (file path or literal value) to use to authenticate to the Grafana server. May alternatively be set via the GRAFANA_TLS_CERT environment variable. It can also be sourced from the following environment variable: GRAFANA_TLS_CERT
tlsKey String
Client TLS key (file path or literal value) to use to authenticate to the Grafana server. May alternatively be set via the GRAFANA_TLS_KEY environment variable. It can also be sourced from the following environment variable: GRAFANA_TLS_KEY
url String
The root URL of a Grafana server. May alternatively be set via the GRAFANA_URL environment variable. It can also be sourced from the following environment variable: GRAFANA_URL
auth string
API token, basic auth in the username:password format or anonymous (string literal). May alternatively be set via the GRAFANA_AUTH environment variable. It can also be sourced from the following environment variable: GRAFANA_AUTH
caCert string
Certificate CA bundle (file path or literal value) to use to verify the Grafana server's certificate. May alternatively be set via the GRAFANA_CA_CERT environment variable. It can also be sourced from the following environment variable: GRAFANA_CA_CERT
cloudAccessPolicyToken string
Access Policy Token for Grafana Cloud. May alternatively be set via the GRAFANA_CLOUD_ACCESS_POLICY_TOKEN environment variable. It can also be sourced from the following environment variable: GRAFANA_CLOUD_ACCESS_POLICY_TOKEN
cloudApiUrl string
Grafana Cloud's API URL. May alternatively be set via the GRAFANA_CLOUD_API_URL environment variable. It can also be sourced from the following environment variable: GRAFANA_CLOUD_API_URL
cloudProviderAccessToken string
A Grafana Cloud Provider access token. May alternatively be set via the GRAFANA_CLOUD_PROVIDER_ACCESS_TOKEN environment variable.
cloudProviderUrl string
A Grafana Cloud Provider backend address. May alternatively be set via the GRAFANA_CLOUD_PROVIDER_URL environment variable.
connectionsApiAccessToken string
A Grafana Connections API access token. May alternatively be set via the GRAFANA_CONNECTIONS_API_ACCESS_TOKEN environment variable.
connectionsApiUrl string
A Grafana Connections API address. May alternatively be set via the GRAFANA_CONNECTIONS_API_URL environment variable.
fleetManagementAuth string
A Grafana Fleet Management basic auth in the username:password format. May alternatively be set via the GRAFANA_FLEET_MANAGEMENT_AUTH environment variable.
fleetManagementUrl string
A Grafana Fleet Management API address. May alternatively be set via the GRAFANA_FLEET_MANAGEMENT_URL environment variable.
frontendO11yApiAccessToken string
A Grafana Frontend Observability API access token. May alternatively be set via the GRAFANA_FRONTEND_O11Y_API_ACCESS_TOKEN environment variable.
httpHeaders {[key: string]: string}
Optional. HTTP headers mapping keys to values used for accessing the Grafana and Grafana Cloud APIs. May alternatively be set via the GRAFANA_HTTP_HEADERS environment variable in JSON format.
insecureSkipVerify boolean
Skip TLS certificate verification. May alternatively be set via the GRAFANA_INSECURE_SKIP_VERIFY environment variable. It can also be sourced from the following environment variable: GRAFANA_INSECURE_SKIP_VERIFY
oncallAccessToken string
A Grafana OnCall access token. May alternatively be set via the GRAFANA_ONCALL_ACCESS_TOKEN environment variable. It can also be sourced from the following environment variable: GRAFANA_ONCALL_ACCESS_TOKEN
oncallUrl string
An Grafana OnCall backend address. May alternatively be set via the GRAFANA_ONCALL_URL environment variable. It can also be sourced from the following environment variable: GRAFANA_ONCALL_URL
retries number
The amount of retries to use for Grafana API and Grafana Cloud API calls. May alternatively be set via the GRAFANA_RETRIES environment variable. It can also be sourced from the following environment variable: GRAFANA_RETRIES
retryStatusCodes string[]
The status codes to retry on for Grafana API and Grafana Cloud API calls. Use x as a digit wildcard. Defaults to 429 and 5xx. May alternatively be set via the GRAFANA_RETRY_STATUS_CODES environment variable.
retryWait number
The amount of time in seconds to wait between retries for Grafana API and Grafana Cloud API calls. May alternatively be set via the GRAFANA_RETRY_WAIT environment variable. It can also be sourced from the following environment variable: GRAFANA_RETRY_WAIT
smAccessToken string
A Synthetic Monitoring access token. May alternatively be set via the GRAFANA_SM_ACCESS_TOKEN environment variable. It can also be sourced from the following environment variable: GRAFANA_SM_ACCESS_TOKEN
smUrl string
It can also be sourced from the following environment variable: GRAFANA_SM_URL
storeDashboardSha256 boolean
Set to true if you want to save only the sha256sum instead of complete dashboard model JSON in the tfstate. It can also be sourced from the following environment variable: GRAFANA_STORE_DASHBOARD_SHA256
tlsCert string
Client TLS certificate (file path or literal value) to use to authenticate to the Grafana server. May alternatively be set via the GRAFANA_TLS_CERT environment variable. It can also be sourced from the following environment variable: GRAFANA_TLS_CERT
tlsKey string
Client TLS key (file path or literal value) to use to authenticate to the Grafana server. May alternatively be set via the GRAFANA_TLS_KEY environment variable. It can also be sourced from the following environment variable: GRAFANA_TLS_KEY
url string
The root URL of a Grafana server. May alternatively be set via the GRAFANA_URL environment variable. It can also be sourced from the following environment variable: GRAFANA_URL
auth str
API token, basic auth in the username:password format or anonymous (string literal). May alternatively be set via the GRAFANA_AUTH environment variable. It can also be sourced from the following environment variable: GRAFANA_AUTH
ca_cert str
Certificate CA bundle (file path or literal value) to use to verify the Grafana server's certificate. May alternatively be set via the GRAFANA_CA_CERT environment variable. It can also be sourced from the following environment variable: GRAFANA_CA_CERT
cloud_access_policy_token str
Access Policy Token for Grafana Cloud. May alternatively be set via the GRAFANA_CLOUD_ACCESS_POLICY_TOKEN environment variable. It can also be sourced from the following environment variable: GRAFANA_CLOUD_ACCESS_POLICY_TOKEN
cloud_api_url str
Grafana Cloud's API URL. May alternatively be set via the GRAFANA_CLOUD_API_URL environment variable. It can also be sourced from the following environment variable: GRAFANA_CLOUD_API_URL
cloud_provider_access_token str
A Grafana Cloud Provider access token. May alternatively be set via the GRAFANA_CLOUD_PROVIDER_ACCESS_TOKEN environment variable.
cloud_provider_url str
A Grafana Cloud Provider backend address. May alternatively be set via the GRAFANA_CLOUD_PROVIDER_URL environment variable.
connections_api_access_token str
A Grafana Connections API access token. May alternatively be set via the GRAFANA_CONNECTIONS_API_ACCESS_TOKEN environment variable.
connections_api_url str
A Grafana Connections API address. May alternatively be set via the GRAFANA_CONNECTIONS_API_URL environment variable.
fleet_management_auth str
A Grafana Fleet Management basic auth in the username:password format. May alternatively be set via the GRAFANA_FLEET_MANAGEMENT_AUTH environment variable.
fleet_management_url str
A Grafana Fleet Management API address. May alternatively be set via the GRAFANA_FLEET_MANAGEMENT_URL environment variable.
frontend_o11y_api_access_token str
A Grafana Frontend Observability API access token. May alternatively be set via the GRAFANA_FRONTEND_O11Y_API_ACCESS_TOKEN environment variable.
http_headers Mapping[str, str]
Optional. HTTP headers mapping keys to values used for accessing the Grafana and Grafana Cloud APIs. May alternatively be set via the GRAFANA_HTTP_HEADERS environment variable in JSON format.
insecure_skip_verify bool
Skip TLS certificate verification. May alternatively be set via the GRAFANA_INSECURE_SKIP_VERIFY environment variable. It can also be sourced from the following environment variable: GRAFANA_INSECURE_SKIP_VERIFY
oncall_access_token str
A Grafana OnCall access token. May alternatively be set via the GRAFANA_ONCALL_ACCESS_TOKEN environment variable. It can also be sourced from the following environment variable: GRAFANA_ONCALL_ACCESS_TOKEN
oncall_url str
An Grafana OnCall backend address. May alternatively be set via the GRAFANA_ONCALL_URL environment variable. It can also be sourced from the following environment variable: GRAFANA_ONCALL_URL
retries int
The amount of retries to use for Grafana API and Grafana Cloud API calls. May alternatively be set via the GRAFANA_RETRIES environment variable. It can also be sourced from the following environment variable: GRAFANA_RETRIES
retry_status_codes Sequence[str]
The status codes to retry on for Grafana API and Grafana Cloud API calls. Use x as a digit wildcard. Defaults to 429 and 5xx. May alternatively be set via the GRAFANA_RETRY_STATUS_CODES environment variable.
retry_wait int
The amount of time in seconds to wait between retries for Grafana API and Grafana Cloud API calls. May alternatively be set via the GRAFANA_RETRY_WAIT environment variable. It can also be sourced from the following environment variable: GRAFANA_RETRY_WAIT
sm_access_token str
A Synthetic Monitoring access token. May alternatively be set via the GRAFANA_SM_ACCESS_TOKEN environment variable. It can also be sourced from the following environment variable: GRAFANA_SM_ACCESS_TOKEN
sm_url str
It can also be sourced from the following environment variable: GRAFANA_SM_URL
store_dashboard_sha256 bool
Set to true if you want to save only the sha256sum instead of complete dashboard model JSON in the tfstate. It can also be sourced from the following environment variable: GRAFANA_STORE_DASHBOARD_SHA256
tls_cert str
Client TLS certificate (file path or literal value) to use to authenticate to the Grafana server. May alternatively be set via the GRAFANA_TLS_CERT environment variable. It can also be sourced from the following environment variable: GRAFANA_TLS_CERT
tls_key str
Client TLS key (file path or literal value) to use to authenticate to the Grafana server. May alternatively be set via the GRAFANA_TLS_KEY environment variable. It can also be sourced from the following environment variable: GRAFANA_TLS_KEY
url str
The root URL of a Grafana server. May alternatively be set via the GRAFANA_URL environment variable. It can also be sourced from the following environment variable: GRAFANA_URL
auth String
API token, basic auth in the username:password format or anonymous (string literal). May alternatively be set via the GRAFANA_AUTH environment variable. It can also be sourced from the following environment variable: GRAFANA_AUTH
caCert String
Certificate CA bundle (file path or literal value) to use to verify the Grafana server's certificate. May alternatively be set via the GRAFANA_CA_CERT environment variable. It can also be sourced from the following environment variable: GRAFANA_CA_CERT
cloudAccessPolicyToken String
Access Policy Token for Grafana Cloud. May alternatively be set via the GRAFANA_CLOUD_ACCESS_POLICY_TOKEN environment variable. It can also be sourced from the following environment variable: GRAFANA_CLOUD_ACCESS_POLICY_TOKEN
cloudApiUrl String
Grafana Cloud's API URL. May alternatively be set via the GRAFANA_CLOUD_API_URL environment variable. It can also be sourced from the following environment variable: GRAFANA_CLOUD_API_URL
cloudProviderAccessToken String
A Grafana Cloud Provider access token. May alternatively be set via the GRAFANA_CLOUD_PROVIDER_ACCESS_TOKEN environment variable.
cloudProviderUrl String
A Grafana Cloud Provider backend address. May alternatively be set via the GRAFANA_CLOUD_PROVIDER_URL environment variable.
connectionsApiAccessToken String
A Grafana Connections API access token. May alternatively be set via the GRAFANA_CONNECTIONS_API_ACCESS_TOKEN environment variable.
connectionsApiUrl String
A Grafana Connections API address. May alternatively be set via the GRAFANA_CONNECTIONS_API_URL environment variable.
fleetManagementAuth String
A Grafana Fleet Management basic auth in the username:password format. May alternatively be set via the GRAFANA_FLEET_MANAGEMENT_AUTH environment variable.
fleetManagementUrl String
A Grafana Fleet Management API address. May alternatively be set via the GRAFANA_FLEET_MANAGEMENT_URL environment variable.
frontendO11yApiAccessToken String
A Grafana Frontend Observability API access token. May alternatively be set via the GRAFANA_FRONTEND_O11Y_API_ACCESS_TOKEN environment variable.
httpHeaders Map<String>
Optional. HTTP headers mapping keys to values used for accessing the Grafana and Grafana Cloud APIs. May alternatively be set via the GRAFANA_HTTP_HEADERS environment variable in JSON format.
insecureSkipVerify Boolean
Skip TLS certificate verification. May alternatively be set via the GRAFANA_INSECURE_SKIP_VERIFY environment variable. It can also be sourced from the following environment variable: GRAFANA_INSECURE_SKIP_VERIFY
oncallAccessToken String
A Grafana OnCall access token. May alternatively be set via the GRAFANA_ONCALL_ACCESS_TOKEN environment variable. It can also be sourced from the following environment variable: GRAFANA_ONCALL_ACCESS_TOKEN
oncallUrl String
An Grafana OnCall backend address. May alternatively be set via the GRAFANA_ONCALL_URL environment variable. It can also be sourced from the following environment variable: GRAFANA_ONCALL_URL
retries Number
The amount of retries to use for Grafana API and Grafana Cloud API calls. May alternatively be set via the GRAFANA_RETRIES environment variable. It can also be sourced from the following environment variable: GRAFANA_RETRIES
retryStatusCodes List<String>
The status codes to retry on for Grafana API and Grafana Cloud API calls. Use x as a digit wildcard. Defaults to 429 and 5xx. May alternatively be set via the GRAFANA_RETRY_STATUS_CODES environment variable.
retryWait Number
The amount of time in seconds to wait between retries for Grafana API and Grafana Cloud API calls. May alternatively be set via the GRAFANA_RETRY_WAIT environment variable. It can also be sourced from the following environment variable: GRAFANA_RETRY_WAIT
smAccessToken String
A Synthetic Monitoring access token. May alternatively be set via the GRAFANA_SM_ACCESS_TOKEN environment variable. It can also be sourced from the following environment variable: GRAFANA_SM_ACCESS_TOKEN
smUrl String
It can also be sourced from the following environment variable: GRAFANA_SM_URL
storeDashboardSha256 Boolean
Set to true if you want to save only the sha256sum instead of complete dashboard model JSON in the tfstate. It can also be sourced from the following environment variable: GRAFANA_STORE_DASHBOARD_SHA256
tlsCert String
Client TLS certificate (file path or literal value) to use to authenticate to the Grafana server. May alternatively be set via the GRAFANA_TLS_CERT environment variable. It can also be sourced from the following environment variable: GRAFANA_TLS_CERT
tlsKey String
Client TLS key (file path or literal value) to use to authenticate to the Grafana server. May alternatively be set via the GRAFANA_TLS_KEY environment variable. It can also be sourced from the following environment variable: GRAFANA_TLS_KEY
url String
The root URL of a Grafana server. May alternatively be set via the GRAFANA_URL environment variable. It can also be sourced from the following environment variable: GRAFANA_URL

Outputs

All input properties are implicitly available as output properties. Additionally, the Provider 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 str
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.

Package Details

Repository
grafana pulumiverse/pulumi-grafana
License
Apache-2.0
Notes
This Pulumi package is based on the grafana Terraform Provider.