Skip to content

Commit

Permalink
fix some sugest and add some attributes verification
Browse files Browse the repository at this point in the history
  • Loading branch information
hmbig2 committed Jul 31, 2021
1 parent c194b0d commit 7ee1e34
Show file tree
Hide file tree
Showing 6 changed files with 45 additions and 530 deletions.
11 changes: 4 additions & 7 deletions docs/resources/dli_queue.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,7 @@ subcategory: "Data Lake Insight (DLI)"

# huaweicloud_dli_queue

DLI Queue management
Allows you to create a queue. The queue will be bound to specified compute resources.

This is an alternative to `huaweicloud_dli_queue`
Manages DLI Queue resource within HuaweiCloud

## Example Usage

Expand All @@ -17,10 +14,10 @@ This is an alternative to `huaweicloud_dli_queue`
resource "huaweicloud_dli_queue" "queue" {
name = "terraform_dli_queue_test"
cu_count = 16
resource_mode = 0
tags = {
k1 = "1"
foo = "bar"
key = "value"
}
}
```
Expand Down
4 changes: 2 additions & 2 deletions huaweicloud/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ func Provider() terraform.ResourceProvider {
"huaweicloud_dcs_instance": ResourceDcsInstanceV1(),
"huaweicloud_dds_instance": ResourceDdsInstanceV3(),
"huaweicloud_dis_stream": ResourceDisStreamV2(),
"huaweicloud_dli_queue": dli.ResourceDliQueueV1(),
"huaweicloud_dli_queue": dli.ResourceDliQueue(),
"huaweicloud_dms_group": ResourceDmsGroupsV1(),
"huaweicloud_dms_instance": ResourceDmsInstancesV1(),
"huaweicloud_dms_queue": ResourceDmsQueuesV1(),
Expand Down Expand Up @@ -603,7 +603,7 @@ func Provider() terraform.ResourceProvider {
"huaweicloud_vpnaas_ike_policy_v2": ResourceVpnIKEPolicyV2(),
"huaweicloud_vpnaas_endpoint_group_v2": ResourceVpnEndpointGroupV2(),
"huaweicloud_vpnaas_site_connection_v2": ResourceVpnSiteConnectionV2(),
"huaweicloud_dli_queue_v1": dli.ResourceDliQueueV1(),
"huaweicloud_dli_queue_v1": dli.ResourceDliQueue(),
"huaweicloud_cs_route_v1": resourceCsRouteV1(),
"huaweicloud_networking_vip_v2": resourceNetworkingVIPV2(),
"huaweicloud_networking_vip_associate_v2": resourceNetworkingVIPAssociateV2(),
Expand Down
Loading

0 comments on commit 7ee1e34

Please sign in to comment.