Skip to content

Commit 6514d6a

Browse files
Rename LPA to HDA (#372)
1 parent 62dc137 commit 6514d6a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+1703
-250
lines changed

CHANGELOG.md

+13-2
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8-
## [Unreleased](https://github.com/fivetran/terraform-provider-fivetran/compare/v1.4.1...HEAD)
8+
## [Unreleased](https://github.com/fivetran/terraform-provider-fivetran/compare/v1.4.0...HEAD)
99

10-
## [1.4.1](https://github.com/fivetran/terraform-provider-fivetran/compare/v1.4.0...v1.4.1)
10+
## [1.4.0](https://github.com/fivetran/terraform-provider-fivetran/compare/v1.3.2...v1.4.0)
1111

1212
## Added
1313
- New resource `fivetran_private_link` that allows to manage Private Links.
@@ -27,6 +27,17 @@ Updates to support management of private links:
2727
- Datasource `fivetran_destination` updates:
2828
- Added field `fivetran_destination.private_link_id`.
2929

30+
## Updated
31+
In connection with the general availability of the hybrid deployment functionality and in order to synchronize internal terminology, we have implemented new resources and datasources to replace the deprecated ones. The deprecated resources will be removed in version 1.5.0
32+
33+
- New resource `fivetran_hybrid_deployment_agent` instead of deprecated `fivetran_local_processing_agent`
34+
- New data source `fivetran_hybrid_deployment_agent` instead of deprecated `fivetran_local_processing_agent`.
35+
- New data source `fivetran_hybrid_deployment_agents` instead of deprecated `fivetran_local_processing_agents`.
36+
- New field `fivetran_connector.hybrid_deployment_id` instead of deprecated `fivetran_connector.local_processing_agent_id`.
37+
- New field `fivetran_destination.hybrid_deployment_id` instead of deprecated `fivetran_destination.local_processing_agent_id`.
38+
39+
Old fields and resources are marked as Deprecated, please follow the migration guide to update the schema
40+
3041
## [1.3.2](https://github.com/fivetran/terraform-provider-fivetran/compare/v1.3.1...v1.3.2)
3142

3243
## Added

docs/data-sources/connector.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ data "fivetran_connector" "connector" {
3030
- `destination_schema` (Block, Read-only) (see [below for nested schema](#nestedblock--destination_schema))
3131
- `failed_at` (String) The timestamp of the time the connector sync failed last time.
3232
- `group_id` (String) The unique identifier for the Group (Destination) within the Fivetran system.
33-
- `local_processing_agent_id` (String) The local processing agent ID that refers to the controller created for the group the connection belongs to. If the value is specified, the system will try to associate the connection with an existing agent.
33+
- `hybrid_deployment_agent_id` (String) The hybrid deployment agent ID that refers to the controller created for the group the connection belongs to. If the value is specified, the system will try to associate the connection with an existing agent.
34+
- `local_processing_agent_id` (String) (Deprecated) The hybrid deployment agent ID that refers to the controller created for the group the connection belongs to. If the value is specified, the system will try to associate the connection with an existing agent.
3435
- `name` (String) The name used both as the connector's name within the Fivetran system and as the source schema's name within your destination.
3536
- `networking_method` (String) Possible values: Directly, SshTunnel, ProxyAgent.
3637
- `pause_after_trial` (Boolean) Specifies whether the connector should be paused after the free trial period has ended.

docs/data-sources/destination.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ data "fivetran_destination" "dest" {
2626
- `config` (Block, Read-only) (see [below for nested schema](#nestedblock--config))
2727
- `daylight_saving_time_enabled` (Boolean) Shift my UTC offset with daylight savings time (US Only)
2828
- `group_id` (String) The unique identifier for the Group within the Fivetran system.
29-
- `local_processing_agent_id` (String) The local processing agent ID that refers to the controller created for the group the connection belongs to. If the value is specified, the system will try to associate the connection with an existing agent.
29+
- `hybrid_deployment_agent_id` (String) The hybrid deployment agent ID that refers to the controller created for the group the connection belongs to. If the value is specified, the system will try to associate the connection with an existing agent.
30+
- `local_processing_agent_id` (String) (Deprecated) The hybrid deployment agent ID that refers to the controller created for the group the connection belongs to. If the value is specified, the system will try to associate the connection with an existing agent.
3031
- `networking_method` (String) Possible values: Directly, SshTunnel, ProxyAgent.
3132
- `private_link_id` (String) The private link ID.
3233
- `region` (String) Data processing location. This is where Fivetran will operate and run computation on data.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
---
2+
page_title: "Data Source: fivetran_hybrid_deployment_agents"
3+
---
4+
5+
# Data Source: fivetran_hybrid_deployment_agents
6+
7+
This data source returns a hybrid deployment agent object.
8+
9+
## Example Usage
10+
11+
```hcl
12+
data "fivetran_hybrid_deployment_agents" "hybrid_deployment_agent" {
13+
id = "hybrid_deployment_agent_id"
14+
}
15+
```
16+
17+
<!-- schema generated by tfplugindocs -->
18+
## Schema
19+
20+
### Required
21+
22+
- `id` (String) The unique identifier for the hybrid deployment agent within your account.
23+
24+
### Read-Only
25+
26+
- `display_name` (String) The unique name for the hybrid deployment agent.
27+
- `group_id` (String) The unique identifier for the Group within the Fivetran system.
28+
- `registered_at` (String) The timestamp of the time the hybrid deployment agent was created in your account.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
---
2+
page_title: "Data Source: fivetran_hybrid_deployment_agents"
3+
---
4+
5+
# Data Source: fivetran_hybrid_deployment_agents
6+
7+
This data source returns a list of all hybrid deployment agents within your Fivetran account.
8+
9+
## Example Usage
10+
11+
```hcl
12+
data "fivetran_hybrid_deployment_agents" "hybrid_deployment_agents" {
13+
}
14+
```
15+
16+
<!-- schema generated by tfplugindocs -->
17+
## Schema
18+
19+
### Read-Only
20+
21+
- `items` (Attributes Set) (see [below for nested schema](#nestedatt--items))
22+
23+
<a id="nestedatt--items"></a>
24+
### Nested Schema for `items`
25+
26+
Required:
27+
28+
- `id` (String) The unique identifier for the hybrid deployment agent within your account.
29+
30+
Read-Only:
31+
32+
- `display_name` (String) The unique name for the hybrid deployment agent.
33+
- `group_id` (String) The unique identifier for the Group within the Fivetran system.
34+
- `registered_at` (String) The timestamp of the time the hybrid deployment agent was created in your account.

docs/data-sources/local_processing_agent.md

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ page_title: "Data Source: fivetran_local_processing_agent"
44

55
# Data Source: fivetran_local_processing_agent
66

7+
NOTE: In connection with the general availability of the hybrid deployment functionality and in order to synchronize internal terminology, we have deprecate this data source.
8+
79
This data source returns a local processing agent object.
810

911
## Example Usage

docs/data-sources/local_processing_agents.md

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ page_title: "Data Source: fivetran_local_processing_agents"
44

55
# Data Source: fivetran_local_processing_agents
66

7+
NOTE: In connection with the general availability of the hybrid deployment functionality and in order to synchronize internal terminology, we have deprecate this data source.
8+
79
This data source returns a list of all local processing agents within your Fivetran account.
810

911
## Example Usage
+104
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,104 @@
1+
----
2+
page_title: "Version Update 1.4.0"
3+
subcategory: "Upgrade Guides"
4+
---
5+
6+
# Version 1.4.0
7+
8+
## What's new in 1.4.0
9+
10+
In version `1.4.0` of Fivetran Terraform provider, resource `fivetran_local_processing_agent` renamed to `fivetran_hybrid_deployment_agent`
11+
12+
## Migration guide
13+
14+
### Provider
15+
16+
Update your provider configuration in the following way:
17+
18+
Previous configuration:
19+
20+
```hcl
21+
required_providers {
22+
fivetran = {
23+
version = "~> 1.3.0"
24+
source = "fivetran/fivetran"
25+
}
26+
}
27+
```
28+
29+
Updated configuration:
30+
31+
```hcl
32+
required_providers {
33+
fivetran = {
34+
version = ">= 1.4.0"
35+
source = "fivetran/fivetran"
36+
}
37+
}
38+
```
39+
40+
### Resource `fivetran_hybrid_deployment_agent`
41+
42+
Update all your local processing agent resources (`fivetran_local_processing_agent`):
43+
44+
Previous configuration:
45+
46+
```hcl
47+
resource "fivetran_local_processing_agent" "test_agent" {
48+
}
49+
```
50+
51+
Updated configuration:
52+
53+
```hcl
54+
resource "fivetran_hybrid_deployment_agent" "test_agent" {
55+
}
56+
```
57+
58+
### Resource `fivetran_connector`
59+
60+
Update all your connector resources (`fivetran_connector`):
61+
62+
Previous configuration:
63+
64+
```hcl
65+
resource "fivetran_connector" "test_connector" {
66+
local_processing_agent_id = agent_id
67+
}
68+
```
69+
70+
Updated configuration:
71+
72+
```hcl
73+
resource "fivetran_connector" "test_connector" {
74+
hybrid_deployment_agent_id = agent_id
75+
}
76+
```
77+
78+
### Resource `fivetran_destination`
79+
80+
Update all your destination resources (`fivetran_destination`):
81+
82+
Previous configuration:
83+
84+
```hcl
85+
resource "fivetran_destination" "test_destination" {
86+
local_processing_agent_id = agent_id
87+
}
88+
```
89+
90+
Updated configuration:
91+
92+
```hcl
93+
resource "fivetran_destination" "test_destination" {
94+
hybrid_deployment_agent_id = agent_id
95+
}
96+
```
97+
98+
### Update terraform state
99+
100+
Once all configurations have been updated, run:
101+
102+
```
103+
terraform init -upgrade
104+
```

docs/resources/connector.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,8 @@ resource "fivetran_connector" "amplitude" {
7070
- `auth` (Block, Optional) (see [below for nested schema](#nestedblock--auth))
7171
- `config` (Block, Optional) (see [below for nested schema](#nestedblock--config))
7272
- `destination_schema` (Block, Optional) (see [below for nested schema](#nestedblock--destination_schema))
73-
- `local_processing_agent_id` (String) The local processing agent ID that refers to the controller created for the group the connection belongs to. If the value is specified, the system will try to associate the connection with an existing agent.
73+
- `hybrid_deployment_agent_id` (String) The hybrid deployment agent ID that refers to the controller created for the group the connection belongs to. If the value is specified, the system will try to associate the connection with an existing agent.
74+
- `local_processing_agent_id` (String, Deprecated) (Deprecated) The hybrid deployment agent ID that refers to the controller created for the group the connection belongs to. If the value is specified, the system will try to associate the connection with an existing agent.
7475
- `networking_method` (String) Possible values: Directly, SshTunnel, ProxyAgent.
7576
- `private_link_id` (String) The private link ID.
7677
- `proxy_agent_id` (String) The proxy agent ID.

docs/resources/destination.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@ resource "fivetran_destination" "dest" {
4848

4949
- `config` (Block, Optional) (see [below for nested schema](#nestedblock--config))
5050
- `daylight_saving_time_enabled` (Boolean) Shift my UTC offset with daylight savings time (US Only)
51-
- `local_processing_agent_id` (String) The local processing agent ID that refers to the controller created for the group the connection belongs to. If the value is specified, the system will try to associate the connection with an existing agent.
51+
- `hybrid_deployment_agent_id` (String) The hybrid deployment agent ID that refers to the controller created for the group the connection belongs to. If the value is specified, the system will try to associate the connection with an existing agent.
52+
- `local_processing_agent_id` (String, Deprecated) (Deprecated) The hybrid deployment agent ID that refers to the controller created for the group the connection belongs to. If the value is specified, the system will try to associate the connection with an existing agent.
5253
- `networking_method` (String) Possible values: Directly, SshTunnel, ProxyAgent.
5354
- `private_link_id` (String) The private link ID.
5455
- `run_setup_tests` (Boolean) Specifies whether the setup tests should be run automatically. The default value is TRUE.
+41
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
---
2+
page_title: "Resource: fivetran_hybrid_deployment_agent"
3+
---
4+
5+
# Resource: fivetran_hybrid_deployment_agent
6+
7+
This resource allows you to create, update, and delete hybrid deployment agents.
8+
9+
## Example Usage
10+
11+
```hcl
12+
resource "fivetran_hybrid_deployment_agent" "hybrid_deployment_agent" {
13+
provider = fivetran-provider
14+
15+
display_name = "display_name"
16+
group_id = "group_id"
17+
auth_type = "AUTO"
18+
}
19+
```
20+
21+
<!-- schema generated by tfplugindocs -->
22+
## Schema
23+
24+
### Required
25+
26+
- `auth_type` (String) Type of authentification. Possible values `AUTO`,`MANUAL`
27+
- `display_name` (String) The unique name for the hybrid deployment agent.
28+
- `group_id` (String) The unique identifier for the Group within the Fivetran system.
29+
30+
### Optional
31+
32+
- `authentication_counter` (Number) Determines whether re-authentication needs to be performed.
33+
34+
### Read-Only
35+
36+
- `auth_json` (String) Base64-encoded content of the auth.json file.
37+
- `config_json` (String) Base64-encoded content of the config.json file.
38+
- `docker_compose_yaml` (String) Base64-encoded content of the compose file for the chosen containerization type.
39+
- `id` (String) The unique identifier for the hybrid deployment agent within your account.
40+
- `registered_at` (String) The timestamp of the time the hybrid deployment agent was created in your account.
41+
- `token` (String) Base64 encoded content of token.

docs/resources/local_processing_agent.md

+3
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,11 @@ page_title: "Resource: fivetran_local_processing_agent"
44

55
# Resource: fivetran_local_processing_agent
66

7+
NOTE: In connection with the general availability of the hybrid deployment functionality and in order to synchronize internal terminology, we have deprecate this resource.
8+
79
This resource allows you to create, update, and delete local processing agents.
810

11+
912
## Example Usage
1013

1114
```hcl

0 commit comments

Comments
 (0)