alicloud_privatelink_vpc_endpoint_service_user

Provides a Private Link Vpc Endpoint Service User resource. Endpoint service user whitelist.

For information about Private Link Vpc Endpoint Service User and how to use it, see What is Vpc Endpoint Service User.

Example Usage

Basic Usage

variable "name" {
  default = "tfexampleuser"
}

resource "alicloud_privatelink_vpc_endpoint_service" "example" {
  service_description    = var.name
  connect_bandwidth      = 103
  auto_accept_connection = false
}

resource "alicloud_ram_user" "example" {
  name         = var.name
  display_name = "user_display_name"
  mobile       = "86-18688888888"
  email        = "hello.uuu@aaa.com"
  comments     = "yoyoyo"
}

resource "alicloud_privatelink_vpc_endpoint_service_user" "example" {
  service_id = alicloud_privatelink_vpc_endpoint_service.example.id
  user_id    = alicloud_ram_user.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

Private Link Vpc Endpoint Service User can be imported using the id, e.g.

$ terraform import alicloud_privatelink_vpc_endpoint_service_user.example <service_id>:<user_id>