Skip to content

aws_cloudwatch_log_delivery_destination: Add support for XRAY delivery destination type #44994

@marcinbelczewski

Description

@marcinbelczewski

Description

The aws_cloudwatch_log_delivery_destination resource currently doesn't support creating X-Ray trace delivery destinations. The AWS API supports XRAY as a valid DeliveryDestinationType, but the provider marks delivery_destination_type as computed-only and requires delivery_destination_configuration to be set. X-Ray destinations work differently - they don't require a destination configuration block.

Affected Resource(s)

  • aws_cloudwatch_log_delivery_destination

Potential Terraform Configuration

resource "aws_cloudwatch_log_delivery_destination" "xray" {
  name                      = "xray-traces"
  delivery_destination_type = "XRAY"
}

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementRequests to existing resources that expand the functionality or scope.service/logsIssues and PRs that pertain to the logs service.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions