Resource: aws_codeguruprofiler_profiling_group

Terraform resource for managing an AWS CodeGuru Profiler Profiling Group.

Example Usage

Basic Usage

resource "aws_codeguruprofiler_profiling_group" "example" {
  name             = "example"
  compute_platform = "Default"

  agent_orchestration_config {
    profiling_enabled = true
  }
}

Argument Reference

The following arguments are required:

The following arguments are optional:

Attribute Reference

This resource exports the following attributes in addition to the arguments above:

Agent Orchestration Config

Import

In Terraform v1.5.0 and later, use an import block to import CodeGuru Profiler Profiling Group using the id. For example:

import {
  to = aws_codeguruprofiler_profiling_group.example
  id = "profiling_group-name-12345678"
}

Using terraform import, import CodeGuru Profiler Profiling Group using the id. For example:

% terraform import aws_codeguruprofiler_profiling_group.example profiling_group-name-12345678