From b315148c5783866a602ee541c0954a9a86f5f58b Mon Sep 17 00:00:00 2001 From: Bruno Scota de Carvalho Date: Sun, 12 May 2024 10:37:20 -0300 Subject: [PATCH] fixed documentation --- docs/resources/component.md | 5 ++--- examples/resources/instatus_component/import.sh | 4 ++-- examples/resources/instatus_component/resource.tf | 1 - 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/docs/resources/component.md b/docs/resources/component.md index 87b6898..1b92016 100644 --- a/docs/resources/component.md +++ b/docs/resources/component.md @@ -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" } @@ -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 +# Import identifier must be in the format 'pageId/componentId' +terraform import instatus_component.example pageId/componentId ``` diff --git a/examples/resources/instatus_component/import.sh b/examples/resources/instatus_component/import.sh index 5b79717..a70f58c 100644 --- a/examples/resources/instatus_component/import.sh +++ b/examples/resources/instatus_component/import.sh @@ -1,2 +1,2 @@ -# Component can be imported by specifying the string identifier. -terraform import instatus_component.example \ No newline at end of file +# Import identifier must be in the format 'pageId/componentId' +terraform import instatus_component.example pageId/componentId diff --git a/examples/resources/instatus_component/resource.tf b/examples/resources/instatus_component/resource.tf index ebabed6..1004ac6 100644 --- a/examples/resources/instatus_component/resource.tf +++ b/examples/resources/instatus_component/resource.tf @@ -2,7 +2,6 @@ resource "instatus_component" "example" { page_id = "PAGE_ID" name = "App" - status = "OPERATIONAL" show_uptime = true description = "Example App" }