Skip to content

Commit be77b3d

Browse files
committed
fix documentation version and add clarification about proof of concept
1 parent d5e7421 commit be77b3d

File tree

9 files changed

+17
-15
lines changed

9 files changed

+17
-15
lines changed

docs/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
page_title: "doit Provider"
44
subcategory: ""
55
description: |-
6-
6+
DoiT Provider. Notice that this provider is proof of concept and it is not currently supported.
77
---
88

99
# doit Provider
1010

11-
11+
DoiT Provider. Notice that this provider is proof of concept and it is not currently supported.
1212

1313
## Example Usage
1414

@@ -17,7 +17,7 @@ terraform {
1717
required_providers {
1818
doit = {
1919
source = "doitintl/doit"
20-
version = "0.12.0"
20+
version = "0.18.0"
2121
}
2222
}
2323
}

docs/resources/attribution.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ description: |-
1515
```terraform
1616
# Manage Attribution group
1717
resource "doit_attribution" "attri" {
18-
name = "attritestnewname9"
19-
description = "attritestdiana8"
18+
name = "attritestname"
19+
description = "attritestdesc"
2020
formula = "A"
2121
components = [{ type = "label", key = "iris_location", values = ["us"] }]
2222
}

docs/resources/budget.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ description: |-
1515
```terraform
1616
resource "doit_budget" "my_budget" {
1717
name = "test budget terraform"
18-
description = "hellogo test2"
18+
description = "description"
1919
alerts = [
2020
{
2121
percentage = 50
@@ -28,11 +28,11 @@ resource "doit_budget" "my_budget" {
2828
}
2929
]
3030
recipients = [
31-
"diana@doit.com"
31+
"recipient@doit.com"
3232
]
3333
collaborators = [
3434
{
35-
"email" : "diana@doit.com",
35+
"email" : "recipient@doit.com",
3636
"role" : "owner"
3737
},
3838
]

examples/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ terraform {
22
required_providers {
33
doit = {
44
source = "doitintl/doit"
5-
version = "0.14.0"
5+
version = "0.18.0"
66
}
77
}
88
}

examples/provider/provider.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ terraform {
22
required_providers {
33
doit = {
44
source = "doitintl/doit"
5-
version = "0.12.0"
5+
version = "0.18.0"
66
}
77
}
88
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Manage Attribution group
22
resource "doit_attribution" "attri" {
3-
name = "attritestnewname9"
4-
description = "attritestdiana8"
3+
name = "attritestname"
4+
description = "attritestdesc"
55
formula = "A"
66
components = [{ type = "label", key = "iris_location", values = ["us"] }]
77
}

examples/resources/doit_budget/resource.tf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
resource "doit_budget" "my_budget" {
22
name = "test budget terraform"
3-
description = "hellogo test2"
3+
description = "description"
44
alerts = [
55
{
66
percentage = 50
@@ -13,11 +13,11 @@ resource "doit_budget" "my_budget" {
1313
}
1414
]
1515
recipients = [
16-
"diana@doit.com"
16+
"recipient@doit.com"
1717
]
1818
collaborators = [
1919
{
20-
"email" : "diana@doit.com",
20+
"email" : "recipient@doit.com",
2121
"role" : "owner"
2222
},
2323
]

internal/provider/provider.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ func (p *doitProvider) Metadata(ctx context.Context, _ provider.MetadataRequest,
6363
func (p *doitProvider) Schema(ctx context.Context, _ provider.SchemaRequest, resp *provider.SchemaResponse) {
6464
tflog.Debug(ctx, "provider Schema")
6565
resp.Schema = schema.Schema{
66+
Description: "DoiT Provider. Notice that this provider is proof of concept and it is not currently supported.",
6667
Attributes: map[string]schema.Attribute{
6768
"host": schema.StringAttribute{
6869
Description: "URI for DoiT API. May also be provided via DOIT_HOST environment variable.",

main.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ func main() {
4343
// provider address is used in these tutorials in conjunction with a
4444
// specific Terraform CLI configuration for manual development testing
4545
// of this provider.
46+
4647
Address: "registry.terraform.io/doitintl/doit",
4748
Debug: debug,
4849
}

0 commit comments

Comments
 (0)