--- # generated by https://github.com/hashicorp/terraform-plugin-docs page_title: "awscc_batch_compute_environment Data Source - terraform-provider-awscc" subcategory: "" description: |- Data Source schema for AWS::Batch::ComputeEnvironment --- # awscc_batch_compute_environment (Data Source) Data Source schema for AWS::Batch::ComputeEnvironment ## Schema ### Required - `id` (String) Uniquely identifies the resource. ### Read-Only - `compute_environment_arn` (String) - `compute_environment_name` (String) - `compute_resources` (Attributes) (see [below for nested schema](#nestedatt--compute_resources)) - `replace_compute_environment` (Boolean) - `service_role` (String) - `state` (String) - `tags` (Map of String) A key-value pair to associate with a resource. - `type` (String) - `unmanagedv_cpus` (Number) - `update_policy` (Attributes) (see [below for nested schema](#nestedatt--update_policy)) ### Nested Schema for `compute_resources` Read-Only: - `allocation_strategy` (String) - `bid_percentage` (Number) - `desiredv_cpus` (Number) - `ec_2_configuration` (Attributes List) (see [below for nested schema](#nestedatt--compute_resources--ec_2_configuration)) - `ec_2_key_pair` (String) - `image_id` (String) - `instance_role` (String) - `instance_types` (List of String) - `launch_template` (Attributes) (see [below for nested schema](#nestedatt--compute_resources--launch_template)) - `maxv_cpus` (Number) - `minv_cpus` (Number) - `placement_group` (String) - `security_group_ids` (List of String) - `spot_iam_fleet_role` (String) - `subnets` (List of String) - `tags` (Map of String) A key-value pair to associate with a resource. - `type` (String) - `update_to_latest_image_version` (Boolean) ### Nested Schema for `compute_resources.ec_2_configuration` Read-Only: - `image_id_override` (String) - `image_type` (String) ### Nested Schema for `compute_resources.launch_template` Read-Only: - `launch_template_id` (String) - `launch_template_name` (String) - `version` (String) ### Nested Schema for `update_policy` Read-Only: - `job_execution_timeout_minutes` (Number) - `terminate_jobs_on_update` (Boolean)