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.84k stars 9.19k forks source link

feat(batch): add `container_properties` to `job_definition` data source #40098

Open SKalt opened 3 days ago

SKalt commented 3 days ago

Description

This PR adds a top-level .container_properties attribute. .container_properties is only defined for ECS-based batch jobs, but it shares the structure of the elements of .eks_properties.pod_properties.containers and .node_properties.node_range_properties.[].container.

Relations

Closes #36263

References

Output from Acceptance Testing

% make testacc TESTS=TestAccJobDefinitionDataSourceConfig_basicARN_ContainerProperties PKG=batch

--- PASS: TestAccJobDefinitionDataSourceConfig_basicARN_ContainerProperties (13.76s)
PASS
ok      github.com/hashicorp/terraform-provider-aws/internal/service/batch      17.586s
github-actions[bot] commented 3 days ago

Community Note

Voting for Prioritization

For Submitters