Skip to content

Commit

Permalink
Merge pull request #8 from mineiros-io/kassianh/docs/update-outputs
Browse files Browse the repository at this point in the history
docs: update outputs
  • Loading branch information
mariux authored Feb 1, 2022
2 parents bb37dbe + ea8bafa commit 5a5d8fc
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 12 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -220,15 +220,15 @@ See [variables.tf] and [examples/] for details and use-cases.

The following attributes are exported in the outputs of the module:

- **`group`**
- [**`group`**](#output-group): *(`object(group)`)*<a name="output-group"></a>

All attributes of the created 'google_cloud_identity_group' resource.

- **`membership`**
- [**`membership`**](#output-membership): *(`object(membership)`)*<a name="output-membership"></a>

All attributes of the created 'google_cloud_identity_group_membership' resource.

- **`module_enabled`**
- [**`module_enabled`**](#output-module_enabled): *(`bool`)*<a name="output-module_enabled"></a>

Whether this module is enabled.

Expand Down
27 changes: 18 additions & 9 deletions README.tfdoc.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -287,19 +287,28 @@ section {
title = "Module Outputs"
content = <<-END
The following attributes are exported in the outputs of the module:
END

- **`group`**
All attributes of the created 'google_cloud_identity_group' resource.
- **`membership`**
All attributes of the created 'google_cloud_identity_group_membership' resource.
output "group" {
type = object(group)
description = <<-END
All attributes of the created `google_cloud_identity_group` resource.
END
}

- **`module_enabled`**
output "membership" {
type = object(membership)
description = <<-END
All attributes of the created `google_cloud_identity_group_membership` resource.
END
}

output "module_enabled" {
type = bool
description = <<-END
Whether this module is enabled.
END
END
}
}

section {
Expand Down

0 comments on commit 5a5d8fc

Please sign in to comment.