hashicorp / terraform-provider-aws

The AWS Provider enables Terraform to manage AWS resources.
https://registry.terraform.io/providers/hashicorp/aws
Mozilla Public License 2.0
9.75k stars 9.11k forks source link

[Enhancement]: Allow container insights for #31744

Open abought opened 1 year ago

abought commented 1 year ago

Description

The aws_batch_compute_environment resource does not provide a way to enable container insights. It would be nice if this feature was exposed, similar to preexisting support in the aws_ecs_cluster resource.

At present, user workarounds are rather klunky, such as:

  1. Manually importing a stub "resource" for the underlying ECS environment, after aws_batch_compute_environment has been created.
  2. Activating container insights account-wide.

Neither of these options is great for defining reproducible environments. Allowing the resource to directly manage its settings would be preferred.

Affected Resource(s) and/or Data Source(s)

Potential Terraform Configuration

No response

References

See prior examples.

Would you like to implement a fix?

No

github-actions[bot] commented 1 year ago

Community Note

Voting for Prioritization

Volunteering to Work on This Issue