### oneuptime_monitor example Source: https://github.com/oneuptime/terraform-provider-oneuptime/blob/master/docs/resources/monitor.md Basic example of how to create a oneuptime_monitor resource. ```terraform resource "oneuptime_monitor" "example" { name = "Example short text" monitor_type = "HTTP" } ``` -------------------------------- ### oneuptime_dashboard example Source: https://github.com/oneuptime/terraform-provider-oneuptime/blob/master/docs/resources/dashboard.md Basic example of how to create a oneuptime_dashboard resource. ```terraform resource "oneuptime_dashboard" "example" { name = "Example short text" } ``` -------------------------------- ### Example Usage Source: https://github.com/oneuptime/terraform-provider-oneuptime/blob/master/docs/resources/subscriber_notification_template.md This example shows how to create a subscriber notification template resource. ```terraform resource "oneuptime_subscriber_notification_template" "example" { status_page_id = "123e4567-e89b-12d3-a456-426614174000" status_page_subscriber_notification_template_id = "123e4567-e89b-12d3-a456-426614174000" } ``` -------------------------------- ### Example Usage Source: https://github.com/oneuptime/terraform-provider-oneuptime/blob/master/docs/resources/ceph_cluster_label_rule.md This is an example of how to declare a oneuptime_ceph_cluster_label_rule resource. ```terraform resource "oneuptime_ceph_cluster_label_rule" "example" { name = "Example short text" } ``` -------------------------------- ### oneuptime_kubernetes_cluster Resource Example Source: https://github.com/oneuptime/terraform-provider-oneuptime/blob/master/docs/resources/kubernetes_cluster.md This example shows how to create a Kubernetes cluster resource. ```terraform resource "oneuptime_kubernetes_cluster" "example" { name = "Example short text" cluster_identifier = "Example short text" } ``` -------------------------------- ### oneuptime_docker_host Resource Example Source: https://github.com/oneuptime/terraform-provider-oneuptime/blob/master/docs/resources/docker_host.md Example usage for creating a Docker host resource. ```terraform resource "oneuptime_docker_host" "example" { name = "Example short text" host_identifier = "Example short text" } ``` -------------------------------- ### oneuptime_metric_pipeline_rule example Source: https://github.com/oneuptime/terraform-provider-oneuptime/blob/master/docs/resources/metric_pipeline_rule.md Basic example of how to create a metric pipeline rule. ```terraform resource "oneuptime_metric_pipeline_rule" "example" { name = "John Doe" rule_type = "Example short text" } ``` -------------------------------- ### oneuptime_monitor_template Resource Example Source: https://github.com/oneuptime/terraform-provider-oneuptime/blob/master/docs/resources/monitor_template.md Basic example of how to declare a oneuptime_monitor_template resource. ```terraform resource "oneuptime_monitor_template" "example" { template_name = "Example short text" template_description = "This is an example of longer text content that might be stored in this field." monitor_name = "Example short text" monitor_type = "HTTP" } ``` -------------------------------- ### Example Usage of oneuptime_telegram_log Resource Source: https://github.com/oneuptime/terraform-provider-oneuptime/blob/master/docs/resources/telegram_log.md This snippet shows the basic configuration for creating a Telegram log resource. It is a minimal example and may require additional attributes for a complete setup. ```terraform resource "oneuptime_telegram_log" "example" { } ``` -------------------------------- ### oneuptime_file Resource Example Source: https://github.com/oneuptime/terraform-provider-oneuptime/blob/master/docs/resources/file.md Example usage for creating a oneuptime_file resource. Ensure the name and file_type are provided. ```terraform resource "oneuptime_file" "example" { name = "Example short text" file_type = "Example short text" } ``` -------------------------------- ### oneuptime_proxmox_cluster example Source: https://github.com/oneuptime/terraform-provider-oneuptime/blob/master/docs/resources/proxmox_cluster.md Basic example of how to declare a Proxmox cluster resource. ```terraform resource "oneuptime_proxmox_cluster" "example" { name = "Example short text" } ``` -------------------------------- ### oneuptime_llm_log Resource Example Source: https://github.com/oneuptime/terraform-provider-oneuptime/blob/master/docs/resources/llm_log.md Basic example of how to declare an oneuptime_llm_log resource. ```terraform resource "oneuptime_llm_log" "example" { } ``` -------------------------------- ### oneuptime_alert_episode Resource Example Source: https://github.com/oneuptime/terraform-provider-oneuptime/blob/master/docs/resources/alert_episode.md Basic example of how to declare an alert episode resource. ```terraform resource "oneuptime_alert_episode" "example" { title = "This is an example of longer text content that might be stored in this field." } ``` -------------------------------- ### oneuptime_incoming_call_policy example Source: https://github.com/oneuptime/terraform-provider-oneuptime/blob/master/docs/resources/incoming_call_policy.md Basic example of how to create an incoming call policy resource. ```terraform resource "oneuptime_incoming_call_policy" "example" { name = "Example short text" } ``` -------------------------------- ### Example Usage Source: https://github.com/oneuptime/terraform-provider-oneuptime/blob/master/docs/resources/alert_episode_privacy_rule.md Basic configuration for the oneuptime_alert_episode_privacy_rule resource. ```terraform resource "oneuptime_alert_episode_privacy_rule" "example" { name = "Example short text" } ``` -------------------------------- ### Example Usage Source: https://github.com/oneuptime/terraform-provider-oneuptime/blob/master/docs/data-sources/scheduled_maintenance_owner_rule_data.md This example shows how to retrieve data for a scheduled maintenance owner rule using its name. ```terraform data "oneuptime_scheduled_maintenance_owner_rule_data" "example" { name = "example-scheduled_maintenance_owner_rule_data" } ``` -------------------------------- ### oneuptime_totp_auth Resource Example Source: https://github.com/oneuptime/terraform-provider-oneuptime/blob/master/docs/resources/totp_auth.md Example usage for creating a oneuptime_totp_auth resource. This snippet demonstrates the basic resource block. ```terraform resource "oneuptime_totp_auth" "example" { } ``` -------------------------------- ### Install Oneuptime Provider Locally Source: https://github.com/oneuptime/terraform-provider-oneuptime/blob/master/README.md Build and install the Oneuptime provider to your local Terraform plugins directory for testing purposes. ```sh make install ``` -------------------------------- ### oneuptime_incident_episode example Source: https://github.com/oneuptime/terraform-provider-oneuptime/blob/master/docs/resources/incident_episode.md Basic example of creating an incident episode resource. Requires a title for the episode. ```terraform resource "oneuptime_incident_episode" "example" { title = "This is an example of longer text content that might be stored in this field." } ``` -------------------------------- ### Example Usage of oneuptime_call_log Resource Source: https://github.com/oneuptime/terraform-provider-oneuptime/blob/master/docs/resources/call_log.md This snippet shows the basic configuration for creating a oneuptime_call_log resource. It is a minimal example and may require additional arguments for practical use. ```terraform resource "oneuptime_call_log" "example" { } ``` -------------------------------- ### oneuptime_ai_agent_task Resource Example Source: https://github.com/oneuptime/terraform-provider-oneuptime/blob/master/docs/resources/ai_agent_task.md This example demonstrates how to create an AI agent task resource with various properties like name, description, task type, status, and task number. ```terraform resource "oneuptime_ai_agent_task" "example" { name = "This is an example of very long text content that might be stored in this field. It can contain a lot of information, such as detailed descriptions, comments, or any other lengthy text data that needs to be stored in the database." description = "This is an example of very long text content that might be stored in this field. It can contain a lot of information, such as detailed descriptions, comments, or any other lengthy text data that needs to be stored in the database." task_type = "Example short text" status = "Example short text" task_number = 42 } ``` -------------------------------- ### Create a oneuptime user Source: https://github.com/oneuptime/terraform-provider-oneuptime/blob/master/docs/resources/user.md Example of how to create a user resource in oneuptime. ```terraform resource "oneuptime_user" "example" { } ``` -------------------------------- ### Get oneuptime_user_data Source: https://github.com/oneuptime/terraform-provider-oneuptime/blob/master/docs/data-sources/user_data.md Example of how to retrieve user data by name. ```terraform data "oneuptime_user_data" "example" { name = "example-user_data" } ``` -------------------------------- ### Import Source: https://github.com/oneuptime/terraform-provider-oneuptime/blob/master/docs/resources/subscriber_notification_template.md This example shows how to import an existing subscriber notification template resource. ```shell terraform import oneuptime_subscriber_notification_template.example ``` -------------------------------- ### Project User Profile Data Example Source: https://github.com/oneuptime/terraform-provider-oneuptime/blob/master/docs/data-sources/project_user_profile_data.md Example of how to use the oneuptime_project_user_profile_data data source to retrieve project user profile data by name. ```terraform data "oneuptime_project_user_profile_data" "example" { name = "example-project_user_profile_data" } ``` -------------------------------- ### Example Usage of Rum Application Label Rule Data Source Source: https://github.com/oneuptime/terraform-provider-oneuptime/blob/master/docs/data-sources/rum_application_label_rule_data.md This example demonstrates how to use the `oneuptime_rum_application_label_rule_data` data source to retrieve a RUM application label rule by its name. Ensure the rule with the specified name exists in your OneUptime project. ```terraform data "oneuptime_rum_application_label_rule_data" "example" { name = "example-rum_application_label_rule_data" } ``` -------------------------------- ### Get oneuptime_alert_label_rule_data Source: https://github.com/oneuptime/terraform-provider-oneuptime/blob/master/docs/data-sources/alert_label_rule_data.md Example of how to retrieve an alert label rule data configuration by its name. ```terraform data "oneuptime_alert_label_rule_data" "example" { name = "example-alert_label_rule_data" } ``` -------------------------------- ### Log Pipeline Processor Example Source: https://github.com/oneuptime/terraform-provider-oneuptime/blob/master/docs/resources/log_pipeline_processor.md Example usage of the oneuptime_log_pipeline_processor resource to create a new log pipeline processor. Ensure you replace placeholder values with actual IDs and names. ```terraform resource "oneuptime_log_pipeline_processor" "example" { log_pipeline_id = "123e4567-e89b-12d3-a456-426614174000" name = "John Doe" processor_type = "Example short text" } ``` -------------------------------- ### Get oneuptime_alert_owner_rule_data Source: https://github.com/oneuptime/terraform-provider-oneuptime/blob/master/docs/data-sources/alert_owner_rule_data.md Example of how to retrieve data for an alert owner rule using its name. ```terraform data "oneuptime_alert_owner_rule_data" "example" { name = "example-alert_owner_rule_data" } ``` -------------------------------- ### Example Usage Source: https://github.com/oneuptime/terraform-provider-oneuptime/blob/master/docs/resources/incoming_call_log_item.md This snippet shows how to create an incoming call log item resource. ```terraform resource "oneuptime_incoming_call_log_item" "example" { incoming_call_log_id = "123e4567-e89b-12d3-a456-426614174000" status = "Example short text" } ``` -------------------------------- ### Get oneuptime_monitor_group_team_owner_data Source: https://github.com/oneuptime/terraform-provider-oneuptime/blob/master/docs/data-sources/monitor_group_team_owner_data.md Example of how to retrieve monitor group team owner data using its name. ```terraform data "oneuptime_monitor_group_team_owner_data" "example" { name = "example-monitor_group_team_owner_data" } ``` -------------------------------- ### Get Domain Data Example Source: https://github.com/oneuptime/terraform-provider-oneuptime/blob/master/docs/data-sources/domain_data.md Use the `oneuptime_domain_data` data source to retrieve domain data by its name. This is useful for fetching details of an existing domain. ```terraform data "oneuptime_domain_data" "example" { name = "example-domain_data" } ``` -------------------------------- ### Example Usage Source: https://github.com/oneuptime/terraform-provider-oneuptime/blob/master/docs/data-sources/metric_pipeline_rule_data.md Fetch details for a metric pipeline rule data by its name. ```terraform data "oneuptime_metric_pipeline_rule_data" "example" { name = "example-metric_pipeline_rule_data" } ``` -------------------------------- ### Example Usage of oneuptime_totp_auth_data Source: https://github.com/oneuptime/terraform-provider-oneuptime/blob/master/docs/data-sources/totp_auth_data.md Use this data source to retrieve TOTP authentication data by its name. This is useful for referencing existing TOTP configurations within your Terraform setup. ```terraform data "oneuptime_totp_auth_data" "example" { name = "example-totp_auth_data" } ``` -------------------------------- ### Get oneuptime_service_data by name Source: https://github.com/oneuptime/terraform-provider-oneuptime/blob/master/docs/data-sources/service_data.md Use the `oneuptime_service_data` data source to fetch details of a service by its name. This is typically used to reference existing service configurations within your OneUptime setup. ```terraform data "oneuptime_service_data" "example" { name = "example-service_data" } ``` -------------------------------- ### Get RUM Application Team Owner Data Source: https://github.com/oneuptime/terraform-provider-oneuptime/blob/master/docs/data-sources/rum_application_team_owner_data.md Example of how to retrieve RUM application team owner data using the `oneuptime_rum_application_team_owner_data` data source. It filters the data by the `name` attribute. ```terraform data "oneuptime_rum_application_team_owner_data" "example" { name = "example-rum_application_team_owner_data" } ``` -------------------------------- ### Get Status Page Announcement Template Data Source: https://github.com/oneuptime/terraform-provider-oneuptime/blob/master/docs/data-sources/status_page_announcement_template_data.md Use this data source to retrieve the details of a specific announcement template by its name. This is useful for referencing template configurations within your Terraform setup. ```terraform data "oneuptime_status_page_announcement_template_data" "example" { name = "example-status_page_announcement_template_data" } ``` -------------------------------- ### Example Usage of oneuptime_proxmox_cluster_team_owner_data Source: https://github.com/oneuptime/terraform-provider-oneuptime/blob/master/docs/data-sources/proxmox_cluster_team_owner_data.md Use this data source to fetch details about a Proxmox cluster team owner by its name. This is useful for referencing existing team owner configurations within your Terraform setup. ```terraform data "oneuptime_proxmox_cluster_team_owner_data" "example" { name = "example-proxmox_cluster_team_owner_data" } ``` -------------------------------- ### Create a Runbook Agent Source: https://github.com/oneuptime/terraform-provider-oneuptime/blob/master/docs/resources/runbook_agent.md Example of how to create a new runbook agent using the `oneuptime_runbook_agent` resource. Ensure you provide a unique name and a secure key. ```terraform resource "oneuptime_runbook_agent" "example" { name = "Example short text" key = "Example short text" } ``` -------------------------------- ### Example Usage of oneuptime_alert_state_timeline_data Source: https://github.com/oneuptime/terraform-provider-oneuptime/blob/master/docs/data-sources/alert_state_timeline_data.md This snippet shows how to use the oneuptime_alert_state_timeline_data data source to retrieve alert state timeline data by name. Ensure you have the necessary permissions and that the data source is correctly configured in your Terraform setup. ```terraform data "oneuptime_alert_state_timeline_data" "example" { name = "example-alert_state_timeline_data" } ``` -------------------------------- ### oneuptime_service Resource Example Source: https://github.com/oneuptime/terraform-provider-oneuptime/blob/master/docs/resources/service.md Basic configuration for creating a new service resource. ```terraform resource "oneuptime_service" "example" { name = "Example short text" } ``` -------------------------------- ### Example Usage of oneuptime_ai_agent_owner_team_data Source: https://github.com/oneuptime/terraform-provider-oneuptime/blob/master/docs/data-sources/ai_agent_owner_team_data.md Use this data source to retrieve AI agent owner team data by specifying its name. This is useful for referencing existing AI agent owner team data configurations within your Terraform setup. ```terraform data "oneuptime_ai_agent_owner_team_data" "example" { name = "example-ai_agent_owner_team_data" } ``` -------------------------------- ### Example Usage of Docker Host Owner Rule Data Source Source: https://github.com/oneuptime/terraform-provider-oneuptime/blob/master/docs/data-sources/docker_host_owner_rule_data.md This snippet shows how to use the `oneuptime_docker_host_owner_rule_data` data source to retrieve information about a Docker host owner rule by its name. It's useful for fetching existing rule configurations within your Terraform setup. ```terraform data "oneuptime_docker_host_owner_rule_data" "example" { name = "example-docker_host_owner_rule_data" } ``` -------------------------------- ### Create a Host Label Rule Source: https://github.com/oneuptime/terraform-provider-oneuptime/blob/master/docs/resources/host_label_rule.md Example of how to create a basic host label rule. This snippet demonstrates the minimal configuration required for resource creation. ```terraform resource "oneuptime_host_label_rule" "example" { name = "Example short text" } ``` -------------------------------- ### Example Usage Source: https://github.com/oneuptime/terraform-provider-oneuptime/blob/master/docs/resources/alert_episode_label_rule.md Basic configuration for an alert episode label rule. ```terraform resource "oneuptime_alert_episode_label_rule" "example" { name = "Example short text" } ``` -------------------------------- ### oneuptime_incident_on_call_rule example Source: https://github.com/oneuptime/terraform-provider-oneuptime/blob/master/docs/resources/incident_on_call_rule.md Basic example of how to use the oneuptime_incident_on_call_rule resource. ```terraform resource "oneuptime_incident_on_call_rule" "example" { name = "Example short text" } ``` -------------------------------- ### Build the Terraform Provider Source: https://github.com/oneuptime/terraform-provider-oneuptime/blob/master/README.md Compile the Terraform provider using the Go install command. ```sh go build ``` -------------------------------- ### Create a service monitor Source: https://github.com/oneuptime/terraform-provider-oneuptime/blob/master/docs/resources/service_monitor.md Example of how to create a new service monitor resource. Ensure you have the correct service_id and monitor_id. ```terraform resource "oneuptime_service_monitor" "example" { service_id = "123e4567-e89b-12d3-a456-426614174000" monitor_id = "123e4567-e89b-12d3-a456-426614174000" } ``` -------------------------------- ### Basic Usage of oneuptime_two_factor_auth Resource Source: https://github.com/oneuptime/terraform-provider-oneuptime/blob/master/docs/resources/two_factor_auth.md This example shows the basic configuration for the two_factor_auth resource. No specific arguments are required for initial creation. ```terraform resource "oneuptime_two_factor_auth" "example" { } ``` -------------------------------- ### Example Usage Source: https://github.com/oneuptime/terraform-provider-oneuptime/blob/master/docs/data-sources/docker_host_data.md Use the `oneuptime_docker_host_data` data source to retrieve information about a Docker host. Specify the `name` attribute to identify the desired Docker host. ```terraform data "oneuptime_docker_host_data" "example" { name = "example-docker_host_data" } ``` -------------------------------- ### Import Cloud Resource Example Source: https://github.com/oneuptime/terraform-provider-oneuptime/blob/master/docs/resources/cloud_resource.md Use this command to import an existing cloud resource into your Terraform state. Replace `` with the actual ID of the resource you want to import. ```shell terraform import oneuptime_cloud_resource.example ``` -------------------------------- ### Create a oneuptime_profile resource Source: https://github.com/oneuptime/terraform-provider-oneuptime/blob/master/docs/resources/profile.md Example of how to declare and configure a oneuptime_profile resource. This snippet shows the basic structure for creating a profile. ```terraform resource "oneuptime_profile" "example" { } ``` -------------------------------- ### Incident Data Example Source: https://github.com/oneuptime/terraform-provider-oneuptime/blob/master/docs/data-sources/incident_data.md Example of how to retrieve incident data using its name. ```terraform data "oneuptime_incident_data" "example" { name = "example-incident_data" } ``` -------------------------------- ### Importing a oneuptime_profile_sample Resource Source: https://github.com/oneuptime/terraform-provider-oneuptime/blob/master/docs/resources/profile_sample.md This example demonstrates how to import an existing oneuptime_profile_sample resource into your Terraform state. Replace `` with the actual ID of the resource. ```shell terraform import oneuptime_profile_sample.example ``` -------------------------------- ### oneuptime_alert_grouping_rule Resource Example Source: https://github.com/oneuptime/terraform-provider-oneuptime/blob/master/docs/resources/alert_grouping_rule.md Basic example of how to declare an alert grouping rule resource. ```terraform resource "oneuptime_alert_grouping_rule" "example" { name = "Example short text" } ``` -------------------------------- ### Example Usage Source: https://github.com/oneuptime/terraform-provider-oneuptime/blob/master/docs/resources/incoming_call_policy_label_rule.md This snippet shows how to create a basic incoming call policy label rule with a name. ```terraform resource "oneuptime_incoming_call_policy_label_rule" "example" { name = "Example short text" } ``` -------------------------------- ### oneuptime_alert_label_rule Resource Example Source: https://github.com/oneuptime/terraform-provider-oneuptime/blob/master/docs/resources/alert_label_rule.md Basic example of how to declare an alert label rule resource. ```terraform resource "oneuptime_alert_label_rule" "example" { name = "Example short text" } ``` -------------------------------- ### Create a Runbook Execution Source: https://github.com/oneuptime/terraform-provider-oneuptime/blob/master/docs/resources/runbook_execution.md Example of how to create a runbook execution resource. It requires the runbook ID and a snapshot of the runbook name. ```terraform resource "oneuptime_runbook_execution" "example" { runbook_id = "123e4567-e89b-12d3-a456-426614174000" runbook_name_snapshot = "Example short text" } ``` -------------------------------- ### Incident Label Rule Example Source: https://github.com/oneuptime/terraform-provider-oneuptime/blob/master/docs/resources/incident_label_rule.md Basic example of how to declare an incident label rule resource. ```terraform resource "oneuptime_incident_label_rule" "example" { name = "Example short text" } ``` -------------------------------- ### Example Usage of oneuptime_table_view Resource Source: https://github.com/oneuptime/terraform-provider-oneuptime/blob/master/docs/resources/table_view.md This snippet shows how to create a basic table view resource. It requires a name and the ID of the table it belongs to. ```terraform resource "oneuptime_table_view" "example" { name = "Example short text" table_id = "Example short text" } ``` -------------------------------- ### Example Usage of oneuptime_cloud_resource_label_rule Source: https://github.com/oneuptime/terraform-provider-oneuptime/blob/master/docs/resources/cloud_resource_label_rule.md Demonstrates how to create a basic cloud resource label rule with a name. ```terraform resource "oneuptime_cloud_resource_label_rule" "example" { name = "Example short text" } ``` -------------------------------- ### oneuptime_copilot_action_priority Resource Example Source: https://github.com/oneuptime/terraform-provider-oneuptime/blob/master/docs/resources/copilot_action_priority.md This is a basic example of how to declare a oneuptime_copilot_action_priority resource. It requires no arguments to be set. ```terraform resource "oneuptime_copilot_action_priority" "example" { } ``` -------------------------------- ### Create a Host Owner Rule Source: https://github.com/oneuptime/terraform-provider-oneuptime/blob/master/docs/resources/host_owner_rule.md Example of how to create a basic host owner rule using the oneuptime provider. This snippet demonstrates the minimum required configuration. ```terraform resource "oneuptime_host_owner_rule" "example" { name = "Example short text" } ``` -------------------------------- ### oneuptime_alert_data Example Source: https://github.com/oneuptime/terraform-provider-oneuptime/blob/master/docs/data-sources/alert_data.md Example usage of the oneuptime_alert_data data source to retrieve alert data by name. ```terraform data "oneuptime_alert_data" "example" { name = "example-alert_data" } ``` -------------------------------- ### oneuptime_scheduled_maintenance_template Resource Example Source: https://github.com/oneuptime/terraform-provider-oneuptime/blob/master/docs/resources/scheduled_maintenance_template.md Example usage of the oneuptime_scheduled_maintenance_template resource to create a new scheduled maintenance template. ```terraform resource "oneuptime_scheduled_maintenance_template" "example" { template_name = "Example short text" template_description = "This is an example of longer text content that might be stored in this field." title = "Example short text" } ``` -------------------------------- ### Import Code Repository Example Source: https://github.com/oneuptime/terraform-provider-oneuptime/blob/master/docs/resources/code_repository.md Use this command to import an existing code repository into your Terraform state. Replace `` with the actual ID of the code repository. ```shell terraform import oneuptime_code_repository.example ``` -------------------------------- ### oneuptime_subscriber_notification_template_data Example Source: https://github.com/oneuptime/terraform-provider-oneuptime/blob/master/docs/data-sources/subscriber_notification_template_data.md Example usage of the oneuptime_subscriber_notification_template_data data source to retrieve a subscriber notification template by name. ```terraform data "oneuptime_subscriber_notification_template_data" "example" { name = "example-subscriber_notification_template_data" } ``` -------------------------------- ### Example Usage Source: https://github.com/oneuptime/terraform-provider-oneuptime/blob/master/docs/data-sources/status_page_history_chart_bar_color_data.md Use this data source to retrieve status page history chart bar color data by name. ```terraform data "oneuptime_status_page_history_chart_bar_color_data" "example" { name = "example-status_page_history_chart_bar_color_data" } ``` -------------------------------- ### oneuptime_scheduled_maintenance_label_rule_data Example Source: https://github.com/oneuptime/terraform-provider-oneuptime/blob/master/docs/data-sources/scheduled_maintenance_label_rule_data.md Example of how to use the scheduled maintenance label rule data source to retrieve information. ```terraform data "oneuptime_scheduled_maintenance_label_rule_data" "example" { name = "example-scheduled_maintenance_label_rule_data" } ``` -------------------------------- ### Import Source: https://github.com/oneuptime/terraform-provider-oneuptime/blob/master/docs/resources/incoming_call_log_item.md This snippet shows how to import an existing incoming call log item resource. ```shell terraform import oneuptime_incoming_call_log_item.example ``` -------------------------------- ### oneuptime_probe_user_owner_data Example Source: https://github.com/oneuptime/terraform-provider-oneuptime/blob/master/docs/data-sources/probe_user_owner_data.md Example usage of the oneuptime_probe_user_owner_data data source to retrieve probe user owner data by name. ```terraform data "oneuptime_probe_user_owner_data" "example" { name = "example-probe_user_owner_data" } ``` -------------------------------- ### Create an Incoming Call Log Source: https://github.com/oneuptime/terraform-provider-oneuptime/blob/master/docs/resources/incoming_call_log.md Example of how to create an incoming call log resource. This resource is typically computed and may not require explicit configuration. ```terraform resource "oneuptime_incoming_call_log" "example" { } ``` -------------------------------- ### Example Usage of oneuptime_webhook_log Source: https://github.com/oneuptime/terraform-provider-oneuptime/blob/master/docs/resources/webhook_log.md This snippet shows how to declare a oneuptime_webhook_log resource in Terraform. It is a basic example and does not include any specific configurations. ```terraform resource "oneuptime_webhook_log" "example" { } ``` -------------------------------- ### Example Usage Source: https://github.com/oneuptime/terraform-provider-oneuptime/blob/master/docs/data-sources/rum_application_data.md Use this data source to retrieve information about a Rum application data by its name. ```terraform data "oneuptime_rum_application_data" "example" { name = "example-rum_application_data" } ``` -------------------------------- ### User On Call Log Timeline Example Source: https://github.com/oneuptime/terraform-provider-oneuptime/blob/master/docs/resources/user_on_call_log_timeline.md This is a basic example of how to declare a oneuptime_user_on_call_log_timeline resource. It requires no arguments for initial creation. ```terraform resource "oneuptime_user_on_call_log_timeline" "example" { } ``` -------------------------------- ### oneuptime_user_override_data Data Source Example Source: https://github.com/oneuptime/terraform-provider-oneuptime/blob/master/docs/data-sources/user_override_data.md Example of how to use the oneuptime_user_override_data data source to retrieve user override data by name. ```terraform data "oneuptime_user_override_data" "example" { name = "example-user_override_data" } ``` -------------------------------- ### Example Usage of oneuptime_profile_sample Resource Source: https://github.com/oneuptime/terraform-provider-oneuptime/blob/master/docs/resources/profile_sample.md This snippet shows how to declare a oneuptime_profile_sample resource in your Terraform configuration. No specific arguments are required for basic declaration. ```terraform resource "oneuptime_profile_sample" "example" { } ``` -------------------------------- ### Import a Monitor Custom Field Source: https://github.com/oneuptime/terraform-provider-oneuptime/blob/master/docs/resources/monitor_custom_field.md Demonstrates how to import an existing monitor custom field using its ID. ```shell terraform import oneuptime_monitor_custom_field.example ``` -------------------------------- ### Example Usage Source: https://github.com/oneuptime/terraform-provider-oneuptime/blob/master/docs/data-sources/alert_episode_team_owner_data.md Use this data source to retrieve alert episode team owner data by name. ```terraform data "oneuptime_alert_episode_team_owner_data" "example" { name = "example-alert_episode_team_owner_data" } ``` -------------------------------- ### Workflow Team Owner Resource Example Source: https://github.com/oneuptime/terraform-provider-oneuptime/blob/master/docs/resources/workflow_team_owner.md Example usage for creating a workflow team owner resource. Requires team_id and workflow_id. ```terraform resource "oneuptime_workflow_team_owner" "example" { team_id = "123e4567-e89b-12d3-a456-426614174000" workflow_id = "123e4567-e89b-12d3-a456-426614174000" } ```