diff --git a/docs/data-sources/jaas_group.md b/docs/data-sources/jaas_group.md index 15e7a77d..399f8dc9 100644 --- a/docs/data-sources/jaas_group.md +++ b/docs/data-sources/jaas_group.md @@ -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" { diff --git a/examples/data-sources/juju_jaas_group/data-source.tf b/examples/data-sources/juju_jaas_group/data-source.tf index 9904c9b2..31bfcef5 100644 --- a/examples/data-sources/juju_jaas_group/data-source.tf +++ b/examples/data-sources/juju_jaas_group/data-source.tf @@ -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" {