Skip to content

Commit

Permalink
Merge pull request #1464 from gankidis/d-improve-supportapp_slack_wor…
Browse files Browse the repository at this point in the history
…kspace_configuration

add example for awscc_supportapp_slack_workspace_configuration
  • Loading branch information
marcosentino authored Apr 4, 2024
2 parents c54b54b + 07c15db commit d1f668d
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 2 deletions.
13 changes: 11 additions & 2 deletions docs/resources/supportapp_slack_workspace_configuration.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_supportapp_slack_workspace_configuration Resource - terraform-provider-awscc"
subcategory: ""
description: |-
Expand All @@ -10,6 +9,16 @@ description: |-

An AWS Support App resource that creates, updates, lists, and deletes Slack workspace configurations.

## Example Usage

### First Example
To create a slack workspace confifiguration for an AWS account in AWS Support App
```terraform
resource "awscc_supportapp_slack_workspace_configuration" "slack_workspace_example" {
team_id = "team_id_from_slack" # Replace with the actual team ID from Slack
# Other configuration parameters...
}
```


<!-- schema generated by tfplugindocs -->
Expand All @@ -33,4 +42,4 @@ Import is supported using the following syntax:

```shell
$ terraform import awscc_supportapp_slack_workspace_configuration.example <resource ID>
```
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@

resource "awscc_supportapp_slack_workspace_configuration" "slack_workspace_example" {
team_id = "team_id_from_slack" # Replace with the actual team ID from Slack
# Other configuration parameters...
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
page_title: "{{.Name}} {{.Type}} - {{.ProviderName}}"
subcategory: ""
description: |-
{{ .Description | plainmarkdown | trimspace | prefixlines " " }}
---

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

{{ .Description | trimspace }}

## Example Usage

### First Example
To create a slack workspace confifiguration for an AWS account in AWS Support App
{{ tffile (printf "examples/resources/%s/supportapp_slack_workspace_configuration.tf" .Name)}}


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

## Import

Import is supported using the following syntax:

{{ codefile "shell" .ImportFile }}

{{- end }}

0 comments on commit d1f668d

Please sign in to comment.