Skip to content

Commit

Permalink
fix(docs): fix import commands
Browse files Browse the repository at this point in the history
  • Loading branch information
eliobischof committed May 10, 2024
1 parent 0746339 commit 6f8c11e
Show file tree
Hide file tree
Showing 51 changed files with 51 additions and 51 deletions.
2 changes: 1 addition & 1 deletion examples/provider/resources/action-import.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# The resource can be imported using the ID format `<id[:org_id]>`, e.g.
terraform import action.imported '123456789012345678:123456789012345678'
terraform import zitadel_action.imported '123456789012345678:123456789012345678'
2 changes: 1 addition & 1 deletion examples/provider/resources/application_api-import.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# The resource can be imported using the ID format `<id:project_id[:org_id][:client_id][:client_secret]>`, e.g.
terraform import application_api.imported '123456789012345678:123456789012345678:123456789012345678:123456789012345678@zitadel:JuaDFFeOak5DGE655KCYPSAclSkbMVEJXXuX1lEMBT14eLMSs0A0qhafKX5SA2Df'
terraform import zitadel_application_api.imported '123456789012345678:123456789012345678:123456789012345678:123456789012345678@zitadel:JuaDFFeOak5DGE655KCYPSAclSkbMVEJXXuX1lEMBT14eLMSs0A0qhafKX5SA2Df'
2 changes: 1 addition & 1 deletion examples/provider/resources/application_key-import.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# The resource can be imported using the ID format `<id:project_id:app_id[:org_id][:key_details]>`.
# You can use __SEMICOLON__ to escape :, e.g.
terraform import application_key.imported "123456789012345678:123456789012345678:123456789012345678:123456789012345678:$(cat ~/Downloads/123456789012345678.json | sed -e 's/:/__SEMICOLON__/g')"
terraform import zitadel_application_key.imported "123456789012345678:123456789012345678:123456789012345678:123456789012345678:$(cat ~/Downloads/123456789012345678.json | sed -e 's/:/__SEMICOLON__/g')"
2 changes: 1 addition & 1 deletion examples/provider/resources/application_oidc-import.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# The resource can be imported using the ID format `<id:project_id[:org_id][:client_id][:client_secret]>`, e.g.
terraform import application_oidc.imported '123456789012345678:123456789012345678:123456789012345678:123456789012345678@zitadel:JuaDFFeOak5DGE655KCYPSAclSkbMVEJXXuX1lEMBT14eLMSs0A0qhafKX5SA2Df'
terraform import zitadel_application_oidc.imported '123456789012345678:123456789012345678:123456789012345678:123456789012345678@zitadel:JuaDFFeOak5DGE655KCYPSAclSkbMVEJXXuX1lEMBT14eLMSs0A0qhafKX5SA2Df'
2 changes: 1 addition & 1 deletion examples/provider/resources/application_saml-import.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# The resource can be imported using the ID format `<id:project_id[:org_id]>`, e.g.
terraform import application_saml.imported '123456789012345678:123456789012345678:123456789012345678'
terraform import zitadel_application_saml.imported '123456789012345678:123456789012345678:123456789012345678'
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# The resource can be imported using the ID format `<>`, e.g.
terraform import default_domain_policy.imported ''
terraform import zitadel_default_domain_policy.imported ''
2 changes: 1 addition & 1 deletion examples/provider/resources/default_label_policy-import.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# The resource can be imported using the ID format `<>`, e.g.
terraform import default_label_policy.imported ''
terraform import zitadel_default_label_policy.imported ''
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# The resource can be imported using the ID format `<>`, e.g.
terraform import default_lockout_policy.imported ''
terraform import zitadel_default_lockout_policy.imported ''
2 changes: 1 addition & 1 deletion examples/provider/resources/default_login_policy-import.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# The resource can be imported using the ID format `<>`, e.g.
terraform import default_login_policy.imported ''
terraform import zitadel_default_login_policy.imported ''
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# The resource can be imported using the ID format `<>`, e.g.
terraform import default_notification_policy.imported ''
terraform import zitadel_default_notification_policy.imported ''
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# The resource can be imported using the ID format `<>`, e.g.
terraform import default_password_complexity_policy.imported ''
terraform import zitadel_default_password_complexity_policy.imported ''
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# The resource can be imported using the ID format `<>`, e.g.
terraform import default_privacy_policy.imported ''
terraform import zitadel_default_privacy_policy.imported ''
2 changes: 1 addition & 1 deletion examples/provider/resources/domain-import.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# The resource can be imported using the ID format `name[:org_id]`, e.g.
terraform import domain.imported 'example.com:123456789012345678'
terraform import zitadel_domain.imported 'example.com:123456789012345678'
2 changes: 1 addition & 1 deletion examples/provider/resources/domain_policy-import.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# The resource can be imported using the ID format `<[org_id]>`, e.g.
terraform import domain_policy.imported '123456789012345678'
terraform import zitadel_domain_policy.imported '123456789012345678'
2 changes: 1 addition & 1 deletion examples/provider/resources/human_user-import.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# The resource can be imported using the ID format `id[:org_id][:initial_password]>`, e.g.
terraform import human_user.imported '123456789012345678:123456789012345678:Password1!'
terraform import zitadel_human_user.imported '123456789012345678:123456789012345678:Password1!'
2 changes: 1 addition & 1 deletion examples/provider/resources/idp_azure_ad-import.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# The resource can be imported using the ID format `<id[:client_secret]>`, e.g.
terraform import idp_azure_ad.imported '123456789012345678:12345678-1234-1234-1234-123456789012'
terraform import zitadel_idp_azure_ad.imported '123456789012345678:12345678-1234-1234-1234-123456789012'
2 changes: 1 addition & 1 deletion examples/provider/resources/idp_github-import.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# The resource can be imported using the ID format `<id[:client_secret]>`, e.g.
terraform import idp_github.imported '123456789012345678:1234567890123456781234567890123456787890'
terraform import zitadel_idp_github.imported '123456789012345678:1234567890123456781234567890123456787890'
2 changes: 1 addition & 1 deletion examples/provider/resources/idp_github_es-import.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# The resource can be imported using the ID format `<id[:client_secret]>`, e.g.
terraform import idp_github_es.imported '123456789012345678:1234567890123456781234567890123456787890'
terraform import zitadel_idp_github_es.imported '123456789012345678:1234567890123456781234567890123456787890'
2 changes: 1 addition & 1 deletion examples/provider/resources/idp_gitlab-import.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# The resource can be imported using the ID format `<id[:client_secret]>`, e.g.
terraform import idp_gitlab.imported '123456789012345678:1234567890abcdef'
terraform import zitadel_idp_gitlab.imported '123456789012345678:1234567890abcdef'
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# The resource can be imported using the ID format `<id[:client_secret]>`, e.g.
terraform import idp_gitlab_self_hosted.imported '123456789012345678:1234567890abcdef'
terraform import zitadel_idp_gitlab_self_hosted.imported '123456789012345678:1234567890abcdef'
2 changes: 1 addition & 1 deletion examples/provider/resources/idp_google-import.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# The resource can be imported using the ID format `<id[:client_secret]>`, e.g.
terraform import idp_google.imported '123456789012345678:G1234567890123'
terraform import zitadel_idp_google.imported '123456789012345678:G1234567890123'
2 changes: 1 addition & 1 deletion examples/provider/resources/idp_ldap-import.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# The resource can be imported using the ID format `<id[:bind_password]>`, e.g.
terraform import idp_ldap.imported '123456789012345678:b1nd_p4ssw0rd'
terraform import zitadel_idp_ldap.imported '123456789012345678:b1nd_p4ssw0rd'
2 changes: 1 addition & 1 deletion examples/provider/resources/instance_member-import.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# The resource can be imported using the ID format `<user_id>`, e.g.
terraform import instance_member.imported '123456789012345678'
terraform import zitadel_instance_member.imported '123456789012345678'
2 changes: 1 addition & 1 deletion examples/provider/resources/label_policy-import.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# The resource can be imported using the ID format `<[org_id]>`, e.g.
terraform import label_policy.imported '123456789012345678'
terraform import zitadel_label_policy.imported '123456789012345678'
2 changes: 1 addition & 1 deletion examples/provider/resources/lockout_policy-import.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# The resource can be imported using the ID format `<[org_id]>`, e.g.
terraform import lockout_policy.imported '123456789012345678'
terraform import zitadel_lockout_policy.imported '123456789012345678'
2 changes: 1 addition & 1 deletion examples/provider/resources/login_policy-import.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# The resource can be imported using the ID format `<[org_id]>`, e.g.
terraform import login_policy.imported '123456789012345678'
terraform import zitadel_login_policy.imported '123456789012345678'
2 changes: 1 addition & 1 deletion examples/provider/resources/machine_key-import.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# The resource can be imported using the ID format `<id:user_id[:org_id][:key_details]>`, e.g.
terraform import machine_key.imported '123456789012345678:123456789012345678:123456789012345678:{"type":"serviceaccount","keyId":"123456789012345678","key":"-----BEGIN RSA PRIVATE KEY-----\nMIIEpQ...-----END RSA PRIVATE KEY-----\n","userId":"123456789012345678"}'
terraform import zitadel_machine_key.imported '123456789012345678:123456789012345678:123456789012345678:{"type":"serviceaccount","keyId":"123456789012345678","key":"-----BEGIN RSA PRIVATE KEY-----\nMIIEpQ...-----END RSA PRIVATE KEY-----\n","userId":"123456789012345678"}'
2 changes: 1 addition & 1 deletion examples/provider/resources/machine_user-import.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# The resource can be imported using the ID format `<id:has_secret[:org_id][:client_id][:client_secret]>`, e.g.
terraform import machine_user.imported '123456789012345678:123456789012345678:true:my-machine-user:j76mh34CHVrGGoXPQOg80lch67FIxwc2qIXjBkZoB6oMbf31eGMkB6bvRyaPjR2t'
terraform import zitadel_machine_user.imported '123456789012345678:123456789012345678:true:my-machine-user:j76mh34CHVrGGoXPQOg80lch67FIxwc2qIXjBkZoB6oMbf31eGMkB6bvRyaPjR2t'
2 changes: 1 addition & 1 deletion examples/provider/resources/notification_policy-import.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# The resource can be imported using the ID format `<[org_id]>`, e.g.
terraform import notification_policy.imported '123456789012345678'
terraform import zitadel_notification_policy.imported '123456789012345678'
2 changes: 1 addition & 1 deletion examples/provider/resources/org-import.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# The resource can be imported using the ID format `<id>`, e.g.
terraform import org.imported '123456789012345678'
terraform import zitadel_org.imported '123456789012345678'
2 changes: 1 addition & 1 deletion examples/provider/resources/org_idp_azure_ad-import.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# The resource can be imported using the ID format `<id[:org_id][:client_secret]>`, e.g.
terraform import org_idp_azure_ad.imported '123456789012345678:123456789012345678:12345678-1234-1234-1234-123456789012'
terraform import zitadel_org_idp_azure_ad.imported '123456789012345678:123456789012345678:12345678-1234-1234-1234-123456789012'
2 changes: 1 addition & 1 deletion examples/provider/resources/org_idp_github-import.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# The resource can be imported using the ID format `<id[:org_id][:client_secret]>`, e.g.
terraform import org_idp_github.imported '123456789012345678:123456789012345678:1234567890123456781234567890123456787890'
terraform import zitadel_org_idp_github.imported '123456789012345678:123456789012345678:1234567890123456781234567890123456787890'
2 changes: 1 addition & 1 deletion examples/provider/resources/org_idp_github_es-import.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# The resource can be imported using the ID format `<id[:org_id][:client_secret]>`, e.g.
terraform import org_idp_github_es.imported '123456789012345678:123456789012345678:123456789012345678:123456789012345678'
terraform import zitadel_org_idp_github_es.imported '123456789012345678:123456789012345678:123456789012345678:123456789012345678'
2 changes: 1 addition & 1 deletion examples/provider/resources/org_idp_gitlab-import.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# The resource can be imported using the ID format `<id[:org_id][:client_secret]>`, e.g.
terraform import org_idp_gitlab.imported '123456789012345678:123456789012345678:1234567890abcdef'
terraform import zitadel_org_idp_gitlab.imported '123456789012345678:123456789012345678:1234567890abcdef'
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# The resource can be imported using the ID format `<id[:org_id][:client_secret]>`, e.g.
terraform import org_idp_gitlab_self_hosted.imported '123456789012345678:123456789012345678:1234567890abcdef'
terraform import zitadel_org_idp_gitlab_self_hosted.imported '123456789012345678:123456789012345678:1234567890abcdef'
2 changes: 1 addition & 1 deletion examples/provider/resources/org_idp_google-import.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# The resource can be imported using the ID format `<id[:org_id][:client_secret]>`, e.g.
terraform import org_idp_google.imported '123456789012345678:123456789012345678:G1234567890123'
terraform import zitadel_org_idp_google.imported '123456789012345678:123456789012345678:G1234567890123'
2 changes: 1 addition & 1 deletion examples/provider/resources/org_idp_jwt-import.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# The resource can be imported using the ID format `<id[:org_id]>`, e.g.
terraform import org_idp_jwt.imported '123456789012345678:123456789012345678'
terraform import zitadel_org_idp_jwt.imported '123456789012345678:123456789012345678'
2 changes: 1 addition & 1 deletion examples/provider/resources/org_idp_ldap-import.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# The resource can be imported using the ID format `<id[:org_id][:bind_password]>`, e.g.
terraform import org_idp_ldap.imported '123456789012345678:123456789012345678:b1nd_p4ssw0rd'
terraform import zitadel_org_idp_ldap.imported '123456789012345678:123456789012345678:b1nd_p4ssw0rd'
2 changes: 1 addition & 1 deletion examples/provider/resources/org_idp_oidc-import.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# The resource can be imported using the ID format `<id[:org_id][:client_secret]>`, e.g.
terraform import org_idp_oidc.imported '123456789012345678:123456789012345678:1234567890abcdef'
terraform import zitadel_org_idp_oidc.imported '123456789012345678:123456789012345678:1234567890abcdef'
2 changes: 1 addition & 1 deletion examples/provider/resources/org_member-import.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# The resource can be imported using the ID format `<user_id[:org_id]>`, e.g.
terraform import org_member.imported '123456789012345678:123456789012345678'
terraform import zitadel_org_member.imported '123456789012345678:123456789012345678'
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# The resource can be imported using the ID format `<id:user_id[:org_id][:token]>`, e.g.
terraform import personal_access_token.imported '123456789012345678:123456789012345678:123456789012345678:LHt79...'
terraform import zitadel_personal_access_token.imported '123456789012345678:123456789012345678:123456789012345678:LHt79...'
2 changes: 1 addition & 1 deletion examples/provider/resources/privacy_policy-import.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# The resource can be imported using the ID format `<[org_id]>`, e.g.
terraform import privacy_policy.imported '123456789012345678'
terraform import zitadel_privacy_policy.imported '123456789012345678'
2 changes: 1 addition & 1 deletion examples/provider/resources/project-import.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# The resource can be imported using the ID format `<id[:org_id]>`, e.g.
terraform import project.imported '123456789012345678:123456789012345678'
terraform import zitadel_project.imported '123456789012345678:123456789012345678'
2 changes: 1 addition & 1 deletion examples/provider/resources/project_grant-import.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# The resource can be imported using the ID format `<id:project_id[:org_id]>`, e.g.
terraform import project_grant.imported '123456789012345678:123456789012345678:123456789012345678'
terraform import zitadel_project_grant.imported '123456789012345678:123456789012345678:123456789012345678'
2 changes: 1 addition & 1 deletion examples/provider/resources/project_grant_member-import.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# The resource can be imported using the ID format `<project_id:grant_id:user_id[:org_id]>`, e.g.
terraform import project_grant_member.imported '123456789012345678:123456789012345678:123456789012345678:123456789012345678'
terraform import zitadel_project_grant_member.imported '123456789012345678:123456789012345678:123456789012345678:123456789012345678'
2 changes: 1 addition & 1 deletion examples/provider/resources/project_member-import.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# The resource can be imported using the ID format `<project_id:user_id[:org_id]>`, e.g.
terraform import project_member.imported '123456789012345678:123456789012345678:123456789012345678'
terraform import zitadel_project_member.imported '123456789012345678:123456789012345678:123456789012345678'
2 changes: 1 addition & 1 deletion examples/provider/resources/project_role-import.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# The resource can be imported using the ID format `<project_id:role_key[:org_id]>`, e.g.
terraform import project_role.imported '123456789012345678:my-role-key:123456789012345678'
terraform import zitadel_project_role.imported '123456789012345678:my-role-key:123456789012345678'
2 changes: 1 addition & 1 deletion examples/provider/resources/sms_provider_twilio-import.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# The resource can be imported using the ID format `<id[:token]>`, e.g.
terraform import sms_provider_twilio.imported '123456789012345678:12345678901234567890123456abcdef'
terraform import zitadel_sms_provider_twilio.imported '123456789012345678:12345678901234567890123456abcdef'
2 changes: 1 addition & 1 deletion examples/provider/resources/smtp_config-import.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# The resource can be imported using the ID format `<[password]>`, e.g.
terraform import smtp_config.imported 'p4ssw0rd'
terraform import zitadel_smtp_config.imported 'p4ssw0rd'
2 changes: 1 addition & 1 deletion examples/provider/resources/trigger_actions-import.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# The resource can be imported using the ID format `<flow_type:trigger_type[:org_id]>`, e.g.
terraform import trigger_actions.imported 'FLOW_TYPE_EXTERNAL_AUTHENTICATION:TRIGGER_TYPE_POST_CREATION:123456789012345678'
terraform import zitadel_trigger_actions.imported 'FLOW_TYPE_EXTERNAL_AUTHENTICATION:TRIGGER_TYPE_POST_CREATION:123456789012345678'
2 changes: 1 addition & 1 deletion examples/provider/resources/user_grant-import.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# The resource can be imported using the ID format `<flow_type:trigger_type[:org_id]>`, e.g.
terraform import user_grant.imported '123456789012345678:123456789012345678:123456789012345678'
terraform import zitadel_user_grant.imported '123456789012345678:123456789012345678:123456789012345678'

0 comments on commit 6f8c11e

Please sign in to comment.