alicloud_hbr_hana_instance

Provides a Hybrid Backup Recovery (HBR) Hana Instance resource.

For information about Hybrid Backup Recovery (HBR) Hana Instance and how to use it, see What is Hana Instance.

Example Usage

Basic Usage

data "alicloud_resource_manager_resource_groups" "example" {
  status = "OK"
}

resource "alicloud_hbr_vault" "example" {
  vault_name = "terraform-example"
}

resource "alicloud_hbr_hana_instance" "example" {
  alert_setting        = "INHERITED"
  hana_name            = "terraform-example"
  host                 = "1.1.1.1"
  instance_number      = 1
  password             = "YouPassword123"
  resource_group_id    = data.alicloud_resource_manager_resource_groups.example.groups.0.id
  sid                  = "HXE"
  use_ssl              = false
  user_name            = "admin"
  validate_certificate = false
  vault_id             = alicloud_hbr_vault.example.id
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

Timeouts

The timeouts block allows you to specify timeouts for certain actions:

Import

Hybrid Backup Recovery (HBR) Hana Instance can be imported using the id, e.g.

$ terraform import alicloud_hbr_hana_instance.example <vault_id>:<hana_instance_id>