Skip to content

Commit

Permalink
Update docs with link to import-state how-to
Browse files Browse the repository at this point in the history
  • Loading branch information
erikzaadi committed Jun 30, 2024
1 parent df2bb44 commit 48ed039
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 12 deletions.
7 changes: 5 additions & 2 deletions docs/resources/port_integration.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ subcategory: ""
description: |-
Integration resource
NOTE: This resource manages existing integration and integration mappings, not for creating new integrations.
Docs about integration and be found here https://docs.getport.io/integrations-index/.
Docs about integrations can be found here https://docs.getport.io/integrations-index/.
Docs about how to import existing integrations and manage their mappings can be found here https://docs.getport.io/build-your-software-catalog/custom-integration/iac/terraform/examples/import-and-manage-integration.
```hcl
resource "portintegration" "mycustomintegration" {
installationid = "my-custom-integration-id"
Expand Down Expand Up @@ -46,7 +47,9 @@ description: |-

**NOTE:** This resource manages existing integration and integration mappings, not for creating new integrations.

Docs about integration and be found [here](https://docs.getport.io/integrations-index/).
Docs about integrations can be found [here](https://docs.getport.io/integrations-index/).

Docs about how to import existing integrations and manage their mappings can be found [here](https://docs.getport.io/build-your-software-catalog/custom-integration/iac/terraform/examples/import-and-manage-integration).


```hcl
Expand Down
8 changes: 4 additions & 4 deletions docs/resources/port_page.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ page_title: "port_page Resource - terraform-provider-port-labs"
subcategory: ""
description: |-
Page resource
Docs about the different page types can be found here https://docs.getport.io/customize-pages-dashboards-and-plugins/page/catalog-page.
Docs about the different widget types can be found here https://docs.getport.io/customize-pages-dashboards-and-plugins/dashboards/#widget-type-identifiers-terraform.
A full list of the available page types and their identifiers can be found here https://docs.getport.io/customize-pages-dashboards-and-plugins/page/catalog-page.
A full list of widget types and their identifiers can be found here https://docs.getport.io/customize-pages-dashboards-and-plugins/dashboards/#widget-type-identifiers-terraform.
~> WARNING
The page resource is currently in beta and is subject to change in future versions.
Use it by setting the Environment Variable PORT_BETA_FEATURES_ENABLED=true.
Expand Down Expand Up @@ -215,9 +215,9 @@ description: |-

# Page resource

Docs about the different page types can be found [here](https://docs.getport.io/customize-pages-dashboards-and-plugins/page/catalog-page).
A full list of the available page types and their identifiers can be found [here](https://docs.getport.io/customize-pages-dashboards-and-plugins/page/catalog-page).

Docs about the different widget types can be found [here](https://docs.getport.io/customize-pages-dashboards-and-plugins/dashboards/#widget-type-identifiers-terraform).
A full list of widget types and their identifiers can be found [here](https://docs.getport.io/customize-pages-dashboards-and-plugins/dashboards/#widget-type-identifiers-terraform).

~> **WARNING**
The page resource is currently in beta and is subject to change in future versions.
Expand Down
6 changes: 3 additions & 3 deletions examples/provider.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ terraform {
}
}
provider "port" {
client_id = "60EsooJtOqimlekxrNh7nfr2iOgTcyLZ" # or set the environment variable PORT_CLIENT_ID
secret = "35D7Hw4ZpjdHW0u1lNS0cE5UXvevhlGQWeXuwkIX91s6UjgLzO44GSBG9yNBdehr" # or set the environment variable PORT_CLIENT_SECRET
base_url = "http://localhost:3000"
client_id = "" # or set the environment variable PORT_CLIENT_ID
secret = "" # or set the environment variable PORT_CLIENT_SECRET
# base_url = "http://localhost:3000" #
}
4 changes: 3 additions & 1 deletion port/integration/schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,9 @@ var IntegrationResourceMarkdownDescription = `
**NOTE:** This resource manages existing integration and integration mappings, not for creating new integrations.
Docs about integration and be found [here](https://docs.getport.io/integrations-index/).
Docs about integrations can be found [here](https://docs.getport.io/integrations-index/).
Docs about how to import existing integrations and manage their mappings can be found [here](https://docs.getport.io/build-your-software-catalog/custom-integration/iac/terraform/examples/import-and-manage-integration).
` + "```hcl" + `
Expand Down
4 changes: 2 additions & 2 deletions port/page/schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,9 @@ var PageResourceMarkdownDescription = `
# Page resource
Docs about the different page types can be found [here](https://docs.getport.io/customize-pages-dashboards-and-plugins/page/catalog-page).
A full list of the available page types and their identifiers can be found [here](https://docs.getport.io/customize-pages-dashboards-and-plugins/page/catalog-page).
Docs about the different widget types can be found [here](https://docs.getport.io/customize-pages-dashboards-and-plugins/dashboards/#widget-type-identifiers-terraform).
A full list of widget types and their identifiers can be found [here](https://docs.getport.io/customize-pages-dashboards-and-plugins/dashboards/#widget-type-identifiers-terraform).
~> **WARNING**
The page resource is currently in beta and is subject to change in future versions.
Expand Down

0 comments on commit 48ed039

Please sign in to comment.