Skip to content

Commit

Permalink
fixed documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
brunoscota committed May 12, 2024
1 parent ec3dbd2 commit b315148
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
5 changes: 2 additions & 3 deletions docs/resources/component.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ Manages a component.
resource "instatus_component" "example" {
page_id = "PAGE_ID"
name = "App"
status = "OPERATIONAL"
show_uptime = true
description = "Example App"
}
Expand Down Expand Up @@ -48,6 +47,6 @@ resource "instatus_component" "example" {
Import is supported using the following syntax:

```shell
# Component can be imported by specifying the string identifier.
terraform import instatus_component.example <string_identifier>
# Import identifier must be in the format 'pageId/componentId'
terraform import instatus_component.example pageId/componentId
```
4 changes: 2 additions & 2 deletions examples/resources/instatus_component/import.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# Component can be imported by specifying the string identifier.
terraform import instatus_component.example <string_identifier>
# Import identifier must be in the format 'pageId/componentId'
terraform import instatus_component.example pageId/componentId
1 change: 0 additions & 1 deletion examples/resources/instatus_component/resource.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
resource "instatus_component" "example" {
page_id = "PAGE_ID"
name = "App"
status = "OPERATIONAL"
show_uptime = true
description = "Example App"
}

0 comments on commit b315148

Please sign in to comment.