Skip to content

Commit

Permalink
docs: add role details to resource_role
Browse files Browse the repository at this point in the history
  • Loading branch information
mefellows committed Jan 9, 2023
1 parent 4408e77 commit 38d559e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/resources/user.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ resource "pact_user" "billy" {
name = "Billy Sampson"
email = "[email protected]"
active = false
roles = [
pact_role.special_role.uuid, # TF file reference
"cf75d7c2-416b-11ea-af5e-53c3b1a4efd8" # Admin - known value
]
}
```

Expand Down Expand Up @@ -47,11 +51,7 @@ As per the [docs](https://www.terraform.io/docs/import/usage.html), the ID used
resource "pact_user" "someuser" {
name = "Some User"
active = true
email = "[email protected]
roles = [
pact_role.special_role.uuid, # TF file reference
"cf75d7c2-416b-11ea-af5e-53c3b1a4efd8" # Admin - known value
]
email = "[email protected]
}
```

Expand Down

0 comments on commit 38d559e

Please sign in to comment.