Skip to content

Commit

Permalink
feat(resource): Import role collection for globalaccount // Deactivat…
Browse files Browse the repository at this point in the history
…e role (#255)
  • Loading branch information
lechnerc77 authored Jul 11, 2023
1 parent 2540f83 commit c719f8b
Show file tree
Hide file tree
Showing 9 changed files with 1,135 additions and 65 deletions.
8 changes: 8 additions & 0 deletions docs/resources/globalaccount_role_collection.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,12 @@ Required:
- `role_template_app_id` (String) The name of the referenced template app id.
- `role_template_name` (String) The name of the referenced role template.

## Import

Import is supported using the following syntax:

```terraform
# terraform import btp_globalaccount_role_collection.<resource_name> '<name>'
terraform import btp_globalaccount_role_collection.globalaccount_viewer 'Global Account Viewer'
```
3 changes: 3 additions & 0 deletions examples/resources/btp_globalaccount_role/import.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# terraform import btp_globalaccount_role.<resource_name> '<name>,<role_template_name>,<app_id>'

terraform import btp_globalaccount_role.globalaccount_auditor 'User and Role Auditor,xsuaa_auditor,xsuaa!t2'
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# terraform import btp_globalaccount_role_collection.<resource_name> '<name>'

terraform import btp_globalaccount_role_collection.globalaccount_viewer 'Global Account Viewer'
Loading

0 comments on commit c719f8b

Please sign in to comment.