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_key: Optional[str] = None,
cloud_api_url: Optional[str] = None,
insecure_skip_verify: Optional[bool] = None,
oncall_access_token: Optional[str] = None,
oncall_url: Optional[str] = None,
org_id: Optional[int] = 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 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 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 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 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 String
- The unique name of the resource.
- args 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
The Provider resource accepts the following input properties:
- Auth string
- API token, basic auth in the
username:password
format oranonymous
(string literal). May alternatively be set via theGRAFANA_AUTH
environment variable. It can also be sourced from the following environment variable:GRAFANA_AUTH
- Ca
Cert 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
- Cloud
Access stringPolicy Token - Access Policy Token for Grafana Cloud. May alternatively be set via the
GRAFANA_CLOUD_ACCESS_POLICY_TOKEN
environment variable. - Cloud
Api stringKey - Deprecated: Use
cloud_access_policy_token
instead. It can also be sourced from the following environment variable:GRAFANA_CLOUD_API_KEY
- Cloud
Api stringUrl - 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
- Insecure
Skip boolVerify - 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 stringToken - 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 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
- Org
Id int - Deprecated: Use the
org_id
attributes on resources instead. It can also be sourced from the following environment variable:GRAFANA_ORG_ID
- 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 List<string>Codes - 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 theGRAFANA_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. - Sm
Access stringToken - 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 string - Synthetic monitoring backend address. May alternatively be set via the
GRAFANA_SM_URL
environment variable. The correct value for each service region is cited in the Synthetic Monitoring documentation. Note thesm_url
value is optional, but it must correspond with the value specified as theregion_slug
in thegrafana_cloud_stack
resource. Also note that when a Terraform configuration contains multiple provider instances managing SM resources associated with the same Grafana stack, specifying an explicitsm_url
set to the same value for each provider ensures all providers interact with the same SM API. It can also be sourced from the following environment variable:GRAFANA_SM_URL
- Store
Dashboard boolSha256 - 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 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
- Tls
Key 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 oranonymous
(string literal). May alternatively be set via theGRAFANA_AUTH
environment variable. It can also be sourced from the following environment variable:GRAFANA_AUTH
- Ca
Cert 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
- Cloud
Access stringPolicy Token - Access Policy Token for Grafana Cloud. May alternatively be set via the
GRAFANA_CLOUD_ACCESS_POLICY_TOKEN
environment variable. - Cloud
Api stringKey - Deprecated: Use
cloud_access_policy_token
instead. It can also be sourced from the following environment variable:GRAFANA_CLOUD_API_KEY
- Cloud
Api stringUrl - 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
- Insecure
Skip boolVerify - 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 stringToken - 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 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
- Org
Id int - Deprecated: Use the
org_id
attributes on resources instead. It can also be sourced from the following environment variable:GRAFANA_ORG_ID
- 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 []stringCodes - 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 theGRAFANA_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. - Sm
Access stringToken - 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 string - Synthetic monitoring backend address. May alternatively be set via the
GRAFANA_SM_URL
environment variable. The correct value for each service region is cited in the Synthetic Monitoring documentation. Note thesm_url
value is optional, but it must correspond with the value specified as theregion_slug
in thegrafana_cloud_stack
resource. Also note that when a Terraform configuration contains multiple provider instances managing SM resources associated with the same Grafana stack, specifying an explicitsm_url
set to the same value for each provider ensures all providers interact with the same SM API. It can also be sourced from the following environment variable:GRAFANA_SM_URL
- Store
Dashboard boolSha256 - 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 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
- Tls
Key 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 oranonymous
(string literal). May alternatively be set via theGRAFANA_AUTH
environment variable. It can also be sourced from the following environment variable:GRAFANA_AUTH
- ca
Cert 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
- cloud
Access StringPolicy Token - Access Policy Token for Grafana Cloud. May alternatively be set via the
GRAFANA_CLOUD_ACCESS_POLICY_TOKEN
environment variable. - cloud
Api StringKey - Deprecated: Use
cloud_access_policy_token
instead. It can also be sourced from the following environment variable:GRAFANA_CLOUD_API_KEY
- cloud
Api StringUrl - 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
- insecure
Skip BooleanVerify - 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 StringToken - 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 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
- org
Id Integer - Deprecated: Use the
org_id
attributes on resources instead. It can also be sourced from the following environment variable:GRAFANA_ORG_ID
- 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
- retry
Status List<String>Codes - 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 theGRAFANA_RETRY_STATUS_CODES
environment variable. - retry
Wait 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. - sm
Access StringToken - 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 String - Synthetic monitoring backend address. May alternatively be set via the
GRAFANA_SM_URL
environment variable. The correct value for each service region is cited in the Synthetic Monitoring documentation. Note thesm_url
value is optional, but it must correspond with the value specified as theregion_slug
in thegrafana_cloud_stack
resource. Also note that when a Terraform configuration contains multiple provider instances managing SM resources associated with the same Grafana stack, specifying an explicitsm_url
set to the same value for each provider ensures all providers interact with the same SM API. It can also be sourced from the following environment variable:GRAFANA_SM_URL
- store
Dashboard BooleanSha256 - 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 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
- tls
Key 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 oranonymous
(string literal). May alternatively be set via theGRAFANA_AUTH
environment variable. It can also be sourced from the following environment variable:GRAFANA_AUTH
- ca
Cert 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
- cloud
Access stringPolicy Token - Access Policy Token for Grafana Cloud. May alternatively be set via the
GRAFANA_CLOUD_ACCESS_POLICY_TOKEN
environment variable. - cloud
Api stringKey - Deprecated: Use
cloud_access_policy_token
instead. It can also be sourced from the following environment variable:GRAFANA_CLOUD_API_KEY
- cloud
Api stringUrl - 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
- insecure
Skip booleanVerify - 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 stringToken - 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 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
- org
Id number - Deprecated: Use the
org_id
attributes on resources instead. It can also be sourced from the following environment variable:GRAFANA_ORG_ID
- 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
- retry
Status string[]Codes - 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 theGRAFANA_RETRY_STATUS_CODES
environment variable. - retry
Wait 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. - sm
Access stringToken - 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 string - Synthetic monitoring backend address. May alternatively be set via the
GRAFANA_SM_URL
environment variable. The correct value for each service region is cited in the Synthetic Monitoring documentation. Note thesm_url
value is optional, but it must correspond with the value specified as theregion_slug
in thegrafana_cloud_stack
resource. Also note that when a Terraform configuration contains multiple provider instances managing SM resources associated with the same Grafana stack, specifying an explicitsm_url
set to the same value for each provider ensures all providers interact with the same SM API. It can also be sourced from the following environment variable:GRAFANA_SM_URL
- store
Dashboard booleanSha256 - 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 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
- tls
Key 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 oranonymous
(string literal). May alternatively be set via theGRAFANA_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_ strpolicy_ token - Access Policy Token for Grafana Cloud. May alternatively be set via the
GRAFANA_CLOUD_ACCESS_POLICY_TOKEN
environment variable. - cloud_
api_ strkey - Deprecated: Use
cloud_access_policy_token
instead. It can also be sourced from the following environment variable:GRAFANA_CLOUD_API_KEY
- cloud_
api_ strurl - 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
- insecure_
skip_ boolverify - 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_ strtoken - 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
- org_
id int - Deprecated: Use the
org_id
attributes on resources instead. It can also be sourced from the following environment variable:GRAFANA_ORG_ID
- 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_ Sequence[str]codes - 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 theGRAFANA_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. - sm_
access_ strtoken - 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 - Synthetic monitoring backend address. May alternatively be set via the
GRAFANA_SM_URL
environment variable. The correct value for each service region is cited in the Synthetic Monitoring documentation. Note thesm_url
value is optional, but it must correspond with the value specified as theregion_slug
in thegrafana_cloud_stack
resource. Also note that when a Terraform configuration contains multiple provider instances managing SM resources associated with the same Grafana stack, specifying an explicitsm_url
set to the same value for each provider ensures all providers interact with the same SM API. It can also be sourced from the following environment variable:GRAFANA_SM_URL
- store_
dashboard_ boolsha256 - 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 oranonymous
(string literal). May alternatively be set via theGRAFANA_AUTH
environment variable. It can also be sourced from the following environment variable:GRAFANA_AUTH
- ca
Cert 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
- cloud
Access StringPolicy Token - Access Policy Token for Grafana Cloud. May alternatively be set via the
GRAFANA_CLOUD_ACCESS_POLICY_TOKEN
environment variable. - cloud
Api StringKey - Deprecated: Use
cloud_access_policy_token
instead. It can also be sourced from the following environment variable:GRAFANA_CLOUD_API_KEY
- cloud
Api StringUrl - 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
- insecure
Skip BooleanVerify - 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 StringToken - 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 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
- org
Id Number - Deprecated: Use the
org_id
attributes on resources instead. It can also be sourced from the following environment variable:GRAFANA_ORG_ID
- 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
- retry
Status List<String>Codes - 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 theGRAFANA_RETRY_STATUS_CODES
environment variable. - retry
Wait 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. - sm
Access StringToken - 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 String - Synthetic monitoring backend address. May alternatively be set via the
GRAFANA_SM_URL
environment variable. The correct value for each service region is cited in the Synthetic Monitoring documentation. Note thesm_url
value is optional, but it must correspond with the value specified as theregion_slug
in thegrafana_cloud_stack
resource. Also note that when a Terraform configuration contains multiple provider instances managing SM resources associated with the same Grafana stack, specifying an explicitsm_url
set to the same value for each provider ensures all providers interact with the same SM API. It can also be sourced from the following environment variable:GRAFANA_SM_URL
- store
Dashboard BooleanSha256 - 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 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
- tls
Key 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.