Skip to content

Commit

Permalink
add default language to groups to stop permadiffs (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
SamuZad authored May 11, 2024
1 parent 27131a6 commit b24ea70
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/resources/group_settings.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ resource "googleworkspace_group_settings" "sales-settings" {
- `MODERATE_NEW_MEMBERS`: All messages from new members are sent to the group owner's email address for approval. If approved, the message is sent to the group.
- `MODERATE_NONE`: No moderator approval is required. Messages are delivered directly to the group.
Note: When the `who_can_post_message` is set to `ANYONE_CAN_POST`, we recommend the `message_moderation_level` be set to `MODERATE_NON_MEMBERS` to protect the group from possible spam.When `member_can_post_as_the_group` is true, any message moderation settings on individual users or new members will not apply to posts made on behalf of the group.
- `primary_language` (String) The primary language for group. For a group's primary language use the language tags from the Google Workspace languages found at Google Workspace Email Settings API Email Language Tags.
- `primary_language` (String) Defaults to `en_US`. The primary language for group. For a group's primary language use the language tags from the Google Workspace languages found at Google Workspace Email Settings API Email Language Tags.
- `reply_to` (String) Defaults to `REPLY_TO_IGNORE`. Specifies who receives the default reply. Possible values are:
- `REPLY_TO_CUSTOM`: For replies to messages, use the group's custom email address. When set to `REPLY_TO_CUSTOM`, the `custom_reply_to` property holds the custom email address used when replying to a message, the customReplyTo property must have a value. Otherwise an error is returned.
- `REPLY_TO_SENDER`: The reply sent to author of message.
Expand Down
1 change: 1 addition & 0 deletions internal/provider/resource_group_settings.go
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ func resourceGroupSettings() *schema.Resource {
"the Google Workspace languages found at Google Workspace Email Settings API Email Language Tags.",
Type: schema.TypeString,
Optional: true,
Default: "en_US",
},
"is_archived": {
Description: "Allows the Group contents to be archived. If true, archive messages sent to the group. " +
Expand Down

0 comments on commit b24ea70

Please sign in to comment.