Skip to content

Commit

Permalink
docs generation
Browse files Browse the repository at this point in the history
  • Loading branch information
Tankilevitch committed Jan 22, 2024
1 parent d69e61e commit 5b3f283
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docs/resources/port_blueprint.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,9 @@ description: |-
}
```
Force Deleting a Blueprint
There could be cases where a blueprint will be managed by Terraform, but entities will get created from other sources such as the PORT UI or different integrations.
In this case, when trying to delete the blueprint, Terraform will fail because it will try to delete the entities that were created outside of Terraform.
To overcome this behavior, you can set the environment variable PORT_FORCE_DELETE_ENTITIES to true.
There could be cases where a blueprint will be managed by Terraform, but entities will get created from other sources (e.g. Port UI, API or other supported integrations).
In this case, when trying to delete the blueprint, Terraform will fail because it will try to delete the blueprint without deleting the entities first as they are not managed by Terraform.
To overcome this behavior, you can set the environment variable PORT_FORCE_DELETE_ENTITIES=true.
This will trigger a migration that will delete all the entities in the blueprint and then delete the blueprint itself.
---

Expand Down Expand Up @@ -219,10 +219,10 @@ resource "port_blueprint" "microservice" {

## Force Deleting a Blueprint

There could be cases where a blueprint will be managed by Terraform, but entities will get created from other sources such as the PORT UI or different integrations.
In this case, when trying to delete the blueprint, Terraform will fail because it will try to delete the entities that were created outside of Terraform.
There could be cases where a blueprint will be managed by Terraform, but entities will get created from other sources (e.g. Port UI, API or other supported integrations).
In this case, when trying to delete the blueprint, Terraform will fail because it will try to delete the blueprint without deleting the entities first as they are not managed by Terraform.

To overcome this behavior, you can set the environment variable `PORT_FORCE_DELETE_ENTITIES` to `true`.
To overcome this behavior, you can set the environment variable `PORT_FORCE_DELETE_ENTITIES=true`.
This will trigger a migration that will delete all the entities in the blueprint and then delete the blueprint itself.


Expand Down

0 comments on commit 5b3f283

Please sign in to comment.