Skip to content

Commit

Permalink
docs: improve juju_jaas_group datasource example
Browse files Browse the repository at this point in the history
Update example to conform to norms for other examples.
  • Loading branch information
hmlanigan committed Dec 3, 2024
1 parent c271cfd commit 19b6d18
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 14 deletions.
8 changes: 1 addition & 7 deletions docs/data-sources/jaas_group.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,8 @@ A data source representing a Juju JAAS Group.
## Example Usage

```terraform
resource "juju_jaas_group" "test" {
name = "group-0"
}
data "juju_jaas_group" "test" {
name = juju_jaas_group.test.name
// from a separate plan use a string literal
// name = "group-0"
name = "group-0"
}
output "group_uuid" {
Expand Down
8 changes: 1 addition & 7 deletions examples/data-sources/juju_jaas_group/data-source.tf
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
resource "juju_jaas_group" "test" {
name = "group-0"
}

data "juju_jaas_group" "test" {
name = juju_jaas_group.test.name
// from a separate plan use a string literal
// name = "group-0"
name = "group-0"
}

output "group_uuid" {
Expand Down

0 comments on commit 19b6d18

Please sign in to comment.