Skip to content

Commit

Permalink
add resource groups support in keyvaluetags lib
Browse files Browse the repository at this point in the history
  • Loading branch information
DrFaust92 committed Nov 15, 2019
1 parent 45a3c82 commit b059888
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,8 @@ func ServiceClientType(serviceName string) string {
funcType = reflect.TypeOf(wafregional.New)
case "workspaces":
funcType = reflect.TypeOf(workspaces.New)
case "resourcegroups":
funcType = reflect.TypeOf(resourcegroups.New)
default:
panic(fmt.Sprintf("unrecognized ServiceClientType: %s", serviceName))
}
Expand Down
36 changes: 36 additions & 0 deletions aws/internal/keyvaluetags/update_tags_gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions website/docs/r/resourcegroups_group.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ The following arguments are supported:
* `name` - (Required) The resource group's name. A resource group name can have a maximum of 127 characters, including letters, numbers, hyphens, dots, and underscores. The name cannot start with `AWS` or `aws`.
* `description` - (Optional) A description of the resource group.
* `resource_query` - (Required) A `resource_query` block. Resource queries are documented below.
* `tags` - (Optional) Key-value mapping of resource tags

An `resource_query` block supports the following arguments:

Expand Down

0 comments on commit b059888

Please sign in to comment.