AWS Resource Groups Group

This page shows how to write Terraform and CloudFormation for Resource Groups Group and write them securely.

code-icon

Fix issues in your cloud & app configurations

Test for misconfigurations of this resource in your cloud.

get-started-button

Terraform Example (aws_resourcegroups_group)

Provides a Resource Group.

Parameters

Example Usage (from GitHub)

github-iconcsa-bconnors/ssm-tf-demo
resource "aws_resourcegroups_group" "test_servers" {
  name = "test_servers"

  resource_query {
    query = <<JSON
{
github-icondonatillo/infra
resource "aws_resourcegroups_group" "resg-devl" {
    name = "infra-devl"
    description = "Devl resources build by infra."

    resource_query {
    query = <<JSON
github-iconshreedhargowda/tfcloud
resource "aws_resourcegroups_group" "terra-associate" {
  name = "test-group"

  resource_query {
    query = <<JSON
{
github-icondstine/alexa-skills
resource "aws_resourcegroups_group" "group" {
  name = "alexa-skills"

  resource_query {
    query = <<JSON
{
github-icondscsfan/demo-MODOS-AWS
resource "aws_resourcegroups_group" "resgrp-MODOS-AWS" {
  name = "resgrp-MODOS-AWS"

  resource_query {
    query = <<JSON
{

CloudFormation Example (AWS::ResourceGroups::Group)

Creates a resource group with the specified name and description. You can optionally include either a resource query or a service configuration. For more information about constructing a resource query, see Build queries and groups in AWS Resource Groups in the AWS Resource Groups User Guide. For more information about service-linked groups and service configurations, see Service configurations for Resource Groups. Minimum permissions To run this command, you must have the following permissions:+ resource-groups:CreateGroup

Parameters

Frequently asked questions

What is AWS Resource Groups Group?

AWS Resource Groups Group is a resource for Resource Groups of Amazon Web Service. Settings can be wrote in Terraform and CloudFormation.

Where can I find the example code for the AWS Resource Groups Group?

For Terraform, the csa-bconnors/ssm-tf-demo, donatillo/infra and shreedhargowda/tfcloud source code examples are useful. See the Terraform Example section for further details.