Skip to content

Commit 0ae3474

Browse files
committed
rename account to team
1 parent 5c10124 commit 0ae3474

22 files changed

+141
-141
lines changed

docs/data-sources/dns_zone.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ description: |-
2121

2222
### Read-Only
2323

24-
- `account_id` (String)
25-
- `account_slug` (String)
2624
- `dns_servers` (List of String)
2725
- `domain` (Attributes) (see [below for nested schema](#nestedatt--domain))
2826
- `id` (String) The ID of this resource.
2927
- `records` (Attributes List) (see [below for nested schema](#nestedatt--records))
28+
- `team_id` (String)
29+
- `team_slug` (String)
3030

3131
<a id="nestedatt--domain"></a>
3232
### Nested Schema for `domain`

docs/data-sources/site.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ description: |-
1717

1818
### Optional
1919

20-
- `account_slug` (String)
2120
- `name` (String)
21+
- `team_slug` (String)
2222

2323
### Read-Only
2424

docs/data-sources/sites.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ description: |-
1717

1818
### Required
1919

20-
- `account_slug` (String)
20+
- `team_slug` (String)
2121

2222
### Read-Only
2323

@@ -28,8 +28,8 @@ description: |-
2828

2929
Read-Only:
3030

31-
- `account_slug` (String)
3231
- `custom_domain` (String)
3332
- `domain_aliases` (List of String)
3433
- `id` (String)
3534
- `name` (String)
35+
- `team_slug` (String)

docs/data-sources/account.md renamed to docs/data-sources/team.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
22
# generated by https://github.com/hashicorp/terraform-plugin-docs
3-
page_title: "netlify_account Data Source - netlify"
3+
page_title: "netlify_team Data Source - netlify"
44
subcategory: ""
55
description: |-
66
77
---
88

9-
# netlify_account (Data Source)
9+
# netlify_team (Data Source)
1010

1111

1212

docs/resources/dns_zone.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,16 @@ description: |-
1717

1818
### Required
1919

20-
- `account_slug` (String)
2120
- `name` (String)
21+
- `team_slug` (String)
2222

2323
### Read-Only
2424

25-
- `account_id` (String)
2625
- `dns_servers` (List of String)
2726
- `domain` (Attributes) (see [below for nested schema](#nestedatt--domain))
2827
- `id` (String) The ID of this resource.
2928
- `last_updated` (String)
29+
- `team_id` (String)
3030

3131
<a id="nestedatt--domain"></a>
3232
### Nested Schema for `domain`

docs/resources/environment_variable.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ description: |-
1717

1818
### Required
1919

20-
- `account_id` (String)
2120
- `key` (String)
21+
- `team_id` (String)
2222

2323
### Optional
2424

docs/resources/site_firewall_traffic_rules.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ description: |-
2323

2424
### Read-Only
2525

26-
- `account_id` (String)
2726
- `last_updated` (String)
27+
- `team_id` (String)
2828

2929
<a id="nestedatt--published"></a>
3030
### Nested Schema for `published`

docs/resources/account_firewall_traffic_rules.md renamed to docs/resources/team_firewall_traffic_rules.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
22
# generated by https://github.com/hashicorp/terraform-plugin-docs
3-
page_title: "netlify_account_firewall_traffic_rules Resource - netlify"
3+
page_title: "netlify_team_firewall_traffic_rules Resource - netlify"
44
subcategory: ""
55
description: |-
66
77
---
88

9-
# netlify_account_firewall_traffic_rules (Resource)
9+
# netlify_team_firewall_traffic_rules (Resource)
1010

1111

1212

@@ -17,8 +17,8 @@ description: |-
1717

1818
### Required
1919

20-
- `account_id` (String)
2120
- `published` (Attributes) (see [below for nested schema](#nestedatt--published))
21+
- `team_id` (String)
2222
- `unpublished` (Attributes) (see [below for nested schema](#nestedatt--unpublished))
2323

2424
### Read-Only

examples/dns/main.tf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ terraform {
1010
# `token` comes from NETLIFY_API_TOKEN, but can be specified with a Terraform variable
1111
provider "netlify" {}
1212

13-
# data "netlify_account" "current" {
13+
# data "netlify_team" "current" {
1414
# slug = "ramon-test-1"
1515
# }
1616

1717
resource "netlify_dns_zone" "example" {
18-
account_slug = "ramon-test-1" // data.netlify_account.current.slug
19-
name = "example-tf-test-test.com"
18+
team_slug = "ramon-test-1" // data.netlify_team.current.slug
19+
name = "example-tf-test-test.com"
2020
lifecycle {
2121
prevent_destroy = true
2222
}

examples/env_vars/main.tf

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,19 @@ terraform {
1010
# `token` comes from NETLIFY_API_TOKEN, but can be specified with a Terraform variable
1111
provider "netlify" {}
1212

13-
data "netlify_account" "current" {
13+
data "netlify_team" "current" {
1414
slug = "ramon-test-1"
1515
}
1616

1717
data "netlify_site" "platform_test" {
18-
account_slug = data.netlify_account.current.slug
19-
name = "platform-test-1"
18+
team_slug = data.netlify_team.current.slug
19+
name = "platform-test-1"
2020
}
2121

2222
resource "netlify_environment_variable" "woof" {
23-
account_id = data.netlify_account.current.id
24-
site_id = data.netlify_site.platform_test.id
25-
key = "WOOF"
23+
team_id = data.netlify_team.current.id
24+
site_id = data.netlify_site.platform_test.id
25+
key = "WOOF"
2626
values = [
2727
{
2828
value = "dogs are here",
@@ -32,9 +32,9 @@ resource "netlify_environment_variable" "woof" {
3232
}
3333

3434
resource "netlify_environment_variable" "meow" {
35-
account_id = data.netlify_account.current.id
36-
site_id = data.netlify_site.platform_test.id
37-
key = "TEST_MEOW"
35+
team_id = data.netlify_team.current.id
36+
site_id = data.netlify_site.platform_test.id
37+
key = "TEST_MEOW"
3838
values = [
3939
{
4040
value = "roflmaocopter",
@@ -44,9 +44,9 @@ resource "netlify_environment_variable" "meow" {
4444
}
4545

4646
resource "netlify_environment_variable" "secret_meow" {
47-
account_id = data.netlify_account.current.id
48-
site_id = data.netlify_site.platform_test.id
49-
key = "SECRET_TEST_MEOW"
47+
team_id = data.netlify_team.current.id
48+
site_id = data.netlify_site.platform_test.id
49+
key = "SECRET_TEST_MEOW"
5050
secret_values = [
5151
{
5252
value = "secret roflmaocopter",
@@ -60,8 +60,8 @@ resource "netlify_environment_variable" "secret_meow" {
6060
}
6161

6262
resource "netlify_environment_variable" "global_meow" {
63-
account_id = data.netlify_account.current.id
64-
key = "TEST_MEOW"
63+
team_id = data.netlify_team.current.id
64+
key = "TEST_MEOW"
6565
values = [
6666
{
6767
value = "global roflmaocopter",

0 commit comments

Comments
 (0)