Skip to content

Commit 5e2df2b

Browse files
committed
docs: specify endpoint_allowed_accounts clearly
1 parent d8a5a13 commit 5e2df2b

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

docs/resources/service.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ resource "skysql_service" "default" {
5252
- `architecture` (String) The architecture of the service. Valid values are: amd64 or arm64
5353
- `availability_zone` (String) The availability zone of the service
5454
- `deletion_protection` (Boolean) Whether to enable deletion protection. Valid values are: true or false. Default is true
55-
- `endpoint_allowed_accounts` (List of String) The list of cloud accounts (aws, azure, or gcp projects) that are allowed to access the service. Works only with `privateconnect` endpoint mechanism
55+
- `endpoint_allowed_accounts` (List of String) The list of cloud accounts (aws account ids or gcp projects) that are allowed to access the service
5656
- `endpoint_mechanism` (String) The endpoint mechanism to use. Valid values are: privateconnect or nlb
5757
- `is_active` (Boolean) Whether the service is active
5858
- `maxscale_nodes` (Number) The number of MaxScale nodes
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
locals {
2-
dns_domain = join(".", [var.skysql_organization_id, var.skysql_base_domain])
2+
dns_domain = join(".", [var.skysql_organization_id, var.skysql_base_domain])
33
dns_link_name = join(".", [var.skysql_organization_id, replace(var.skysql_base_domain, ".", "-")])
44
}

examples/azure-private-link/main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
data "azurerm_subscription" "current" {}
22

33
data "azurerm_resource_group" "this" {
4-
name = var.resource_group_name
4+
name = var.resource_group_name
55
depends_on = [azurerm_resource_group.this]
66
}
77

@@ -36,7 +36,7 @@ resource "skysql_service" "this" {
3636
}
3737

3838
resource "azurerm_resource_group" "this" {
39-
count = var.create_resource_group ? 1 : 0
39+
count = var.create_resource_group ? 1 : 0
4040
name = var.resource_group_name
4141
location = var.location
4242
}

examples/azure-private-link/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
variable "location" {
22
description = "The Azure Region in which all resources will be created."
3-
type = string
3+
type = string
44
default = "eastus"
55
}
66

0 commit comments

Comments
 (0)