Skip to content

Commit

Permalink
Merge pull request #1982 from quixoticmonk/d-improve-awscc_rekognitio…
Browse files Browse the repository at this point in the history
…n_project

docs: added example for awscc_rekognition_project
  • Loading branch information
breathingdust authored Sep 3, 2024
2 parents a2a1472 + f703afb commit a582d8a
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 2 deletions.
9 changes: 7 additions & 2 deletions docs/resources/rekognition_project.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "awscc_rekognition_project Resource - terraform-provider-awscc"
subcategory: ""
description: |-
Expand All @@ -10,7 +9,13 @@ description: |-

The AWS::Rekognition::Project type creates an Amazon Rekognition CustomLabels Project. A project is a grouping of the resources needed to create and manage Dataset and ProjectVersions.

## Example Usage

```terraform
resource "awscc_rekognition_project" "example" {
project_name = "example"
}
```

<!-- schema generated by tfplugindocs -->
## Schema
Expand All @@ -30,4 +35,4 @@ Import is supported using the following syntax:

```shell
$ terraform import awscc_rekognition_project.example "project_name"
```
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
resource "awscc_rekognition_project" "example" {
project_name = "example"
}
25 changes: 25 additions & 0 deletions templates/resources/rekognition_project.md.tmpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
page_title: "{{.Name}} {{.Type}} - {{.ProviderName}}"
subcategory: ""
description: |-
{{ .Description | plainmarkdown | trimspace | prefixlines " " }}
---

# {{.Name}} ({{.Type}})

{{ .Description | trimspace }}

## Example Usage

{{ tffile (printf "examples/resources/%s/rekognition_project.tf" .Name)}}

{{ .SchemaMarkdown | trimspace }}
{{- if .HasImport }}

## Import

Import is supported using the following syntax:

{{ codefile "shell" .ImportFile }}

{{- end }}

0 comments on commit a582d8a

Please sign in to comment.