Skip to content

Commit

Permalink
Fix: Docs
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielHougaard committed Feb 27, 2024
1 parent 0e70499 commit a061362
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 17 deletions.
8 changes: 4 additions & 4 deletions docs/data-sources/projects.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
page_title: "infisical_projects Data Source - terraform-provider-infisical"
subcategory: ""
description: |-
Get secrets from Infisical
Interact with Infisical projects. Only Machine Identity authentication is supported for this data source.
---

# infisical_projects (Data Source)

Get secrets from Infisical
Interact with Infisical projects. Only Machine Identity authentication is supported for this data source.

## Example Usage

Expand Down Expand Up @@ -48,7 +48,7 @@ output "entire-project" {

### Required

- `slug` (String) The slug of the project
- `slug` (String) The slug of the project to fetch

### Read-Only

Expand All @@ -57,7 +57,7 @@ output "entire-project" {
- `environments` (Attributes Map) (see [below for nested schema](#nestedatt--environments))
- `id` (String) The ID of the project
- `name` (String) The name of the project
- `org_id` (String) The organization ID of the project
- `org_id` (String) The ID of the organization to which the project belongs
- `updated_at` (String) The last update date of the project
- `upgrade_status` (String) The upgrade status of the project
- `version` (Number) The version of the project
Expand Down
4 changes: 2 additions & 2 deletions docs/data-sources/secrets.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
page_title: "infisical_secrets Data Source - terraform-provider-infisical"
subcategory: ""
description: |-
Get secrets from Infisical
Interact with Infisical secrets
---

# infisical_secrets (Data Source)

Get secrets from Infisical
Interact with Infisical secrets

## Example Usage

Expand Down
8 changes: 4 additions & 4 deletions docs/resources/project.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
page_title: "infisical_project Resource - terraform-provider-infisical"
subcategory: ""
description: |-
Create projects & save to Infisical
Create projects & save to Infisical. Only Machine Identity authentication is supported for this data source.
---

# infisical_project (Resource)

Create projects & save to Infisical
Create projects & save to Infisical. Only Machine Identity authentication is supported for this data source.

## Example Usage

Expand Down Expand Up @@ -53,8 +53,8 @@ resource "infisical_project" "azure-project" {
### Required

- `name` (String) The name of the project
- `organization_id` (String) The organization ID of the project
- `slug` (String) The slug of the project. This is optional when creating a project, but for all other operations it is required
- `organization_id` (String) The ID of the organization to which the project belongs
- `slug` (String) The slug of the project

### Read-Only

Expand Down
6 changes: 3 additions & 3 deletions infisical/provider/project_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,14 @@ func (r *projectResource) Metadata(_ context.Context, req resource.MetadataReque
// Schema defines the schema for the resource.
func (r *projectResource) Schema(_ context.Context, _ resource.SchemaRequest, resp *resource.SchemaResponse) {
resp.Schema = schema.Schema{
Description: "Create projects & save to Infisical",
Description: "Create projects & save to Infisical. Only Machine Identity authentication is supported for this data source.",
Attributes: map[string]schema.Attribute{
"slug": schema.StringAttribute{
Description: "The slug of the project. This is optional when creating a project, but for all other operations it is required",
Description: "The slug of the project",
Required: true,
},
"organization_id": schema.StringAttribute{
Description: "The organization ID of the project",
Description: "The ID of the organization to which the project belongs",
Required: true,
},
"name": schema.StringAttribute{
Expand Down
6 changes: 3 additions & 3 deletions infisical/provider/projects_data_source.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,11 @@ func (d *ProjectsDataSource) Metadata(ctx context.Context, req datasource.Metada

func (d *ProjectsDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse) {
resp.Schema = schema.Schema{
Description: "Get secrets from Infisical",
Description: "Interact with Infisical projects. Only Machine Identity authentication is supported for this data source.",

Attributes: map[string]schema.Attribute{
"slug": schema.StringAttribute{
Description: "The slug of the project",
Description: "The slug of the project to fetch",
Required: true,
},

Expand All @@ -76,7 +76,7 @@ func (d *ProjectsDataSource) Schema(ctx context.Context, req datasource.SchemaRe
},

"org_id": schema.StringAttribute{
Description: "The organization ID of the project",
Description: "The ID of the organization to which the project belongs",
Computed: true,
},

Expand Down
2 changes: 1 addition & 1 deletion infisical/provider/secrets_data_source.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ func (d *SecretsDataSource) Metadata(ctx context.Context, req datasource.Metadat

func (d *SecretsDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse) {
resp.Schema = schema.Schema{
Description: "Get secrets from Infisical",
Description: "Interact with Infisical secrets",

Attributes: map[string]schema.Attribute{
"folder_path": schema.StringAttribute{
Expand Down

0 comments on commit a061362

Please sign in to comment.