Add and Manage Resource Groups

Updated 1 hour ago by Rashmi Nanda Sahoo

A Resource Group is a set of Harness resources that the permission applies to. Permissions given to a user or user group as part of a Role apply to the set of resources that are part of the Resource Group that is used in conjunction with the Role.

This topic will explain the steps to create and manage Resource Groups within Harness System.

In this topic:

Before You Begin

Review: Resource Groups and Scopes

A Resource Group can contain any of the following:

  • All or selected resources from the list of resources in the Resource Group's scope - For example, a Resource Group RG1 created within Account Acc1 can contain all or selected resources created within the same Account Acc1.
  • All or selected resources in the scope in which it is defined. For example, all Account level resources, all Account Level Secret Managers, all Connectors in Org A.
  • All or specific resources for the entire account - For example, a Resource Group RG1 within Account Acc1 can contain all or selected resources created within Acc1, Organizations within Acc1, Projects within Acc1, Projects within Organization in Acc1.

Harness includes the following built-in Resource Groups at the Account, Org, and Project scope:

Scope

Resource Group

Description

Account

All Resources Including Child Scopes

Includes all the resources within the scope of the Account, as well as those within the scope of the Orgs and Projects in this Account.

Account

All Account Level Resources

Includes all the resources within the scope of the Account. This does not include resources within the scope of Org or Project.

Org

All Resources Including Child Scopes

Includes all the resources within the scope of the Org, as well as those within the scope of all the Projects created within this Org.

Org

All Organization Level Resources

Includes all the resources within the scope of the Org. This does not include resources within the scope of Projects.

Project

All Project Level Resources

Includes all the resources within the scope of the Project.

Step: Add a New Resource Group

Select your Project/Org/Account, and click Access Control.

Click New Resource Group under the Resource Groups tab. The New Resource Group page appears.

Enter a Name for your Resource Group.

Enter optional Description and Tags for your Resource Group.

Click Apply. Your Resource Group is now listed under the Resource Groups tab.

Click Select Resource. The resource and scope settings appear.

Select Scope to include the resources accordingly. You can choose one of the following options for Scope:

  • Account only - This applies to your resources within the Account scope only.
  • All (including all Organizations and Projects) - This applies to both your resources within the Account's scope and those within the scope of the Organizations and Projects under this Account.

You can either drag and drop a resource or select it to add it to your group.

To select resources, select All or Specified. If you choose All, this Resource Group will contain all of your existing resources as well as any new ones you or Harness add later. If you choose Specified, only the resources you select will be added to this Resource Group.

Click Apply Changes.

Step: Delete A Resource Group

Click the Resource Groups tab under Access Control.

Click Delete on the top right corner to remove a Resource Group.

Step: Manage Resource Group

Click the Resource Groups tab under Access Control.

Click the Resource Group you want to edit. The Resource Group details page appears.

You can add/remove resources from this page.

Click Apply Changes.

Next Steps


Please Provide Feedback