Terraform resource for managing an AWS DevOps Guru Event Sources Config. Currently the only service that can be integrated with DevOps Guru is Amazon CodeGuru Profiler, which can produce proactive recommendations which can be stored and viewed in DevOps Guru.
resource "aws_devopsguru_event_sources_config" "example" {
event_sources {
amazon_code_guru_profiler {
status = "ENABLED"
}
}
}
The following arguments are required:
event_sources
- (Required) Configuration information about the integration of DevOps Guru as the Consumer via EventBridge with another AWS Service. See event_sources
below.event_sources
Argument Referenceamazon_code_guru_profiler
- (Required) Stores whether DevOps Guru is configured to consume recommendations which are generated from AWS CodeGuru Profiler. See amazon_code_guru_profiler
below.amazon_code_guru_profiler
Argument Referencestatus
- (Required) Status of the CodeGuru Profiler integration. Valid values are ENABLED
and DISABLED
.This resource exports the following attributes in addition to the arguments above:
id
- AWS region.In Terraform v1.5.0 and later, use an import
block to import DevOps Guru Event Sources Config using the id
. For example:
import {
to = aws_devopsguru_event_sources_config.example
id = "us-east-1"
}
Using terraform import
, import DevOps Guru Event Sources Config using the id
. For example:
% terraform import aws_devopsguru_event_sources_config.example us-east-1