Skip to content

Commit 303c7a2

Browse files
committed
chore: updated generate test
1 parent b29af9d commit 303c7a2

File tree

6 files changed

+18
-22
lines changed

6 files changed

+18
-22
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
kind: Fixed
2+
body: Updated generate test
3+
time: 2025-03-14T09:36:43.020232388+01:00

.github/workflows/tests.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ jobs:
1919
with:
2020
go-version-file: 'go.mod'
2121
cache: true
22+
- uses: hashicorp/setup-terraform@v3
2223
- run: go generate ./...
2324
- name: git diff
2425
run: |
@@ -52,7 +53,7 @@ jobs:
5253

5354
changie:
5455
runs-on: ubuntu-latest
55-
needs: test
56+
needs: [test, generate]
5657
if: github.ref == 'refs/heads/main' && github.event_name != 'pull_request'
5758
permissions:
5859
contents: write

docs/resources/content_type.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ page_title: "contentstack_content_type Resource - terraform-provider-contentstac
44
subcategory: ""
55
description: |-
66
Content type defines the structure or schema of a page or a section of
7-
your web or mobile property. To create content for your application, you
8-
are required to first create a content type, and then create entries
9-
using the content type.
7+
your web or mobile property. To create content for your application, you
8+
are required to first create a content type, and then create entries
9+
using the content type.
1010
11-
Note: Removing a field or modifying its properties may result in data
12-
loss or invalidate field visibility rules.
11+
Note: Removing a field or modifying its properties may result in data
12+
loss or invalidate field visibility rules.
1313
---
1414

1515
# contentstack_content_type (Resource)
@@ -91,5 +91,3 @@ JSON
9191
- `description` (String)
9292
- `schema` (String) The schema as JSON. Use jsonencode(jsonecode(<schema>)) to work around wrong changes.
9393
- `uid` (String)
94-
95-

docs/resources/global_field.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ page_title: "contentstack_global_field Resource - terraform-provider-contentstac
44
subcategory: ""
55
description: |-
66
A Global field is a reusable field (or group of fields) that you can
7-
define once and reuse in any content type within your stack. This
8-
eliminates the need (and thereby time and efforts) to create the same
9-
set of fields repeatedly in multiple content types.
7+
define once and reuse in any content type within your stack. This
8+
eliminates the need (and thereby time and efforts) to create the same
9+
set of fields repeatedly in multiple content types.
1010
---
1111

1212
# contentstack_global_field (Resource)
@@ -87,5 +87,3 @@ JSON
8787
- `description` (String)
8888
- `maintain_revisions` (Boolean)
8989
- `schema` (String) The schema as JSON. Use jsonencode(jsonecode(<schema>)) to work around wrong changes.
90-
91-

docs/resources/locale.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ page_title: "contentstack_locale Resource - terraform-provider-contentstack"
44
subcategory: ""
55
description: |-
66
Contentstack offers multilingual support, which allows you to create
7-
entries in any language of your choice. When creating entries in other
8-
languages, they inherit data initially from the fallback language until
9-
they are localized.
7+
entries in any language of your choice. When creating entries in other
8+
languages, they inherit data initially from the fallback language until
9+
they are localized.
1010
---
1111

1212
# contentstack_locale (Resource)
@@ -56,5 +56,3 @@ resource "contentstack_locale" "nl" {
5656
### Read-Only
5757

5858
- `uid` (String)
59-
60-

docs/resources/webhook.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ page_title: "contentstack_webhook Resource - terraform-provider-contentstack"
44
subcategory: ""
55
description: |-
66
A webhook is a user-defined HTTP callback. It is a mechanism that sends
7-
real-time information to any third-party app or service.
7+
real-time information to any third-party app or service.
88
---
99

1010
# contentstack_webhook (Resource)
@@ -89,9 +89,7 @@ Optional:
8989
<a id="nestedatt--destination--custom_headers"></a>
9090
### Nested Schema for `destination.custom_headers`
9191

92-
Optional:
92+
Required:
9393

9494
- `header_name` (String)
9595
- `value` (String)
96-
97-

0 commit comments

Comments
 (0)