Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Mar 1, 2021
1 parent 6815d7a commit bee411a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,13 @@ details change in the DN or the DN cannot be constructed due to missing data, a
Because of this quirk, this is a two-step apply. The first step creates the IAM role and creates an LDIF file in
`setup/{role-name}.ldif`. It uses the presence of this file to create the LDAP object in the second step. Example:

1. Step 1, creates role and null resource
```console
# step 1, creates role and null resource
% terraform apply -target=module.myrole
# step 2, creates ldap object
```

2. Step 2, creates ldap object
```console
% terraform apply -target=module.myrole
```

Expand Down
7 changes: 5 additions & 2 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,13 @@
* Because of this quirk, this is a two-step apply. The first step creates the IAM role and creates an LDIF file in
* `setup/{role-name}.ldif`. It uses the presence of this file to create the LDAP object in the second step. Example:
*
* 1. Step 1, creates role and null resource
* ```console
* # step 1, creates role and null resource
* % terraform apply -target=module.myrole
* # step 2, creates ldap object
* ```
*
* 2. Step 2, creates ldap object
* ```console
* % terraform apply -target=module.myrole
* ```
*
Expand Down

0 comments on commit bee411a

Please sign in to comment.