Deleting resource groups from AWS Resource Groups
You can use the AWS Resource Groups console or the AWS CLI to delete resource groups from AWS Resource Groups.
Deleting a resource group does not delete the resources that are members of the group or
tags on member resources. It deletes only the group structure and any group-level
tags.
- Console
-
To delete resource groups
-
Sign in to the AWS Resource Groups console.
-
In the navigation pane, choose Saved Resource
Groups.
-
Choose the name of the resource group that you want to delete, and then
choose View details.
-
On the group's detail page, choose Delete in the top right corner.
-
When you are prompted to confirm the deletion, choose
Delete.
- AWS CLI & AWS SDKs
-
To delete resource groups
-
Run the following command, replacing
resource_group_name with the name of your
group.
$ aws resource-groups delete-group \
--group-name resource_group_name
-
When you are prompted to confirm the deletion, type yes,
and then press Enter.