Skip to content

Commit

Permalink
Merge pull request #638 from hmlanigan/data-source-example
Browse files Browse the repository at this point in the history
#638

## Description

Update example to conform to norms for other examples.


## QA steps

Review the updated `docs/data-sources/jaas_group.md` file, comparing against other data source docs.
  • Loading branch information
jujubot authored Dec 4, 2024
2 parents c271cfd + 19b6d18 commit 75058c6
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 75058c6

Please sign in to comment.