mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-12 03:47:33 +00:00
docs: fix formatting of idp migration (#6279)
This commit is contained in:
@@ -33,7 +33,9 @@ To migrate to a specific provider, you need to follow a few essential steps:
|
|||||||
# terraform state rm *address*
|
# terraform state rm *address*
|
||||||
terraform state rm zitadel_idp_oidc.oidc_idp
|
terraform state rm zitadel_idp_oidc.oidc_idp
|
||||||
```
|
```
|
||||||
After this command you can also remove the resource from the terraform files, as it is not managed anymore but also not deleted
|
|
||||||
|
After this command you can also remove the resource from the terraform files, as it is not managed anymore but also not deleted.
|
||||||
|
|
||||||
3. Make the corresponding API call to [migrate the IDP](./migrate#migrate-generic-oidc-provider), save the ID of the IDP for the import
|
3. Make the corresponding API call to [migrate the IDP](./migrate#migrate-generic-oidc-provider), save the ID of the IDP for the import
|
||||||
4. Before applying the Terraform resources again, import the new IDP resource.
|
4. Before applying the Terraform resources again, import the new IDP resource.
|
||||||
```bash
|
```bash
|
||||||
@@ -52,4 +54,4 @@ After this command you can also remove the resource from the terraform files, as
|
|||||||
terraform import zitadel_idp_google.google 222302827723096428:GOCSPX-*****
|
terraform import zitadel_idp_google.google 222302827723096428:GOCSPX-*****
|
||||||
```
|
```
|
||||||
|
|
||||||
You have now migrated your provider and you should be able to apply the resource again. There should be no changes and the IDP is maintained by Terraform again.
|
You have now migrated your provider and you should be able to apply the resource again. There should be no changes and the IDP is maintained by Terraform again.
|
||||||
|
Reference in New Issue
Block a user