Skip to content

Commit 03b01d2

Browse files
Mirror from monorepo ac9b1b3b (#738)
Automated mirror from monorepo commit `ac9b1b3b1cb2edc6c795b055a5bc7e4386af3d94`. This PR was automatically generated by the terraform provider mirroring workflow. Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent eb23228 commit 03b01d2

File tree

8 files changed

+595
-15
lines changed

8 files changed

+595
-15
lines changed
Lines changed: 110 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,110 @@
1+
---
2+
# generated by https://github.com/hashicorp/terraform-plugin-docs
3+
page_title: "formal_connector_ai_provider Resource - terraform-provider-formal"
4+
subcategory: ""
5+
description: |-
6+
Configures the AI provider for a connector's session analyzer.
7+
---
8+
9+
# formal_connector_ai_provider (Resource)
10+
11+
Configures the AI provider for a connector's session analyzer.
12+
13+
14+
15+
<!-- schema generated by tfplugindocs -->
16+
## Schema
17+
18+
### Required
19+
20+
- `connector_id` (String) The ID of the connector this AI provider is linked to.
21+
22+
### Optional
23+
24+
> **NOTE**: [Write-only arguments](https://developer.hashicorp.com/terraform/language/resources/ephemeral#write-only-arguments) are supported in Terraform 1.11 and later.
25+
26+
- `anthropic` (Block List, Max: 1) Use Anthropic as the provider. (see [below for nested schema](#nestedblock--anthropic))
27+
- `aws_bedrock` (Block List, Max: 1) Use AWS Bedrock as the provider. (see [below for nested schema](#nestedblock--aws_bedrock))
28+
- `azure_ai` (Block List, Max: 1) Use Azure AI Foundry as the provider. (see [below for nested schema](#nestedblock--azure_ai))
29+
- `formal_ai_satellite` (Block List, Max: 1) Use the Formal AI satellite as the provider. (see [below for nested schema](#nestedblock--formal_ai_satellite))
30+
- `gemini` (Block List, Max: 1) Use Google Gemini as the provider. (see [below for nested schema](#nestedblock--gemini))
31+
- `google_vertex_ai` (Block List, Max: 1) Use Google Vertex AI as the provider. (see [below for nested schema](#nestedblock--google_vertex_ai))
32+
- `openai` (Block List, Max: 1) Use OpenAI as the provider. (see [below for nested schema](#nestedblock--openai))
33+
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
34+
35+
### Read-Only
36+
37+
- `id` (String) The ID of this connector AI provider.
38+
39+
<a id="nestedblock--anthropic"></a>
40+
### Nested Schema for `anthropic`
41+
42+
Required:
43+
44+
> **NOTE**: [Write-only arguments](https://developer.hashicorp.com/terraform/language/resources/ephemeral#write-only-arguments) are supported in Terraform 1.11 and later.
45+
46+
- `api_key` (String, [Write-only](https://developer.hashicorp.com/terraform/language/resources/ephemeral#write-only-arguments)) The API key. This value is not stored in Terraform state.
47+
- `api_key_version` (Number) Version trigger for `api_key`. Increment this value to update the key.
48+
49+
50+
<a id="nestedblock--aws_bedrock"></a>
51+
### Nested Schema for `aws_bedrock`
52+
53+
Required:
54+
55+
- `region` (String) The AWS region.
56+
57+
58+
<a id="nestedblock--azure_ai"></a>
59+
### Nested Schema for `azure_ai`
60+
61+
Required:
62+
63+
> **NOTE**: [Write-only arguments](https://developer.hashicorp.com/terraform/language/resources/ephemeral#write-only-arguments) are supported in Terraform 1.11 and later.
64+
65+
- `api_key` (String, [Write-only](https://developer.hashicorp.com/terraform/language/resources/ephemeral#write-only-arguments)) The API key. This value is not stored in Terraform state.
66+
- `api_key_version` (Number) Version trigger for `api_key`. Increment this value to update the key.
67+
- `endpoint` (String) The Azure AI Foundry endpoint URL.
68+
69+
70+
<a id="nestedblock--formal_ai_satellite"></a>
71+
### Nested Schema for `formal_ai_satellite`
72+
73+
74+
<a id="nestedblock--gemini"></a>
75+
### Nested Schema for `gemini`
76+
77+
Required:
78+
79+
> **NOTE**: [Write-only arguments](https://developer.hashicorp.com/terraform/language/resources/ephemeral#write-only-arguments) are supported in Terraform 1.11 and later.
80+
81+
- `api_key` (String, [Write-only](https://developer.hashicorp.com/terraform/language/resources/ephemeral#write-only-arguments)) The API key. This value is not stored in Terraform state.
82+
- `api_key_version` (Number) Version trigger for `api_key`. Increment this value to update the key.
83+
84+
85+
<a id="nestedblock--google_vertex_ai"></a>
86+
### Nested Schema for `google_vertex_ai`
87+
88+
Required:
89+
90+
- `gcp_project_id` (String) The GCP project ID.
91+
- `region` (String) The GCP region.
92+
93+
94+
<a id="nestedblock--openai"></a>
95+
### Nested Schema for `openai`
96+
97+
Required:
98+
99+
> **NOTE**: [Write-only arguments](https://developer.hashicorp.com/terraform/language/resources/ephemeral#write-only-arguments) are supported in Terraform 1.11 and later.
100+
101+
- `api_key` (String, [Write-only](https://developer.hashicorp.com/terraform/language/resources/ephemeral#write-only-arguments)) The API key. This value is not stored in Terraform state.
102+
- `api_key_version` (Number) Version trigger for `api_key`. Increment this value to update the key.
103+
104+
105+
<a id="nestedblock--timeouts"></a>
106+
### Nested Schema for `timeouts`
107+
108+
Optional:
109+
110+
- `create` (String)

docs/resources/connector_configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Registering a Connector Configuration with Formal.
2424
- `log_level` (String) The log level to be configured for this Connector.
2525
- `otel_endpoint_hostname` (String) The OpenTelemetry endpoint hostname for this Connector. Defaults to 'localhost'.
2626
- `otel_endpoint_port` (Number) The OpenTelemetry endpoint port for this Connector. Defaults to 4317.
27-
- `resources_health_checks_frequency_seconds` (Number) The frequency in seconds for resource health checks. Must be between 10 and 3600 seconds. Defaults to 60.
27+
- `resources_health_checks_frequency` (Number) The frequency in seconds for resource health checks. Must be between 10 and 3600 seconds. Defaults to 60.
2828
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
2929

3030
### Read-Only

formal/provider.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ func New(version string) func() *schema.Provider {
4141
},
4242
ResourcesMap: map[string]*schema.Resource{
4343
"formal_connector": resource.ResourceConnector(),
44+
"formal_connector_ai_provider": resource.ResourceConnectorAiProvider(),
4445
"formal_connector_configuration": resource.ResourceConnectorConfiguration(),
4546
"formal_connector_hostname": resource.ResourceConnectorHostname(),
4647
"formal_connector_listener": resource.ResourceConnectorListener(),

0 commit comments

Comments
 (0)