Skip to content

Commit 2359750

Browse files
committed
Simplify imported resource
Bid percentage and tags can use implicit defaults. Desired vCPUs is managed by AWS and should not be tracked in Terraform. Plan shows "1 to import" with no resource action indicators (the imported resource will not be changed).
1 parent b335585 commit 2359750

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

env/production/aws-batch.tf

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,6 @@ resource "aws_batch_compute_environment" "c7a_instances_2026_05_24" {
105105

106106
compute_resources {
107107
allocation_strategy = "BEST_FIT"
108-
bid_percentage = 0
109-
desired_vcpus = 4
110108
instance_role = "arn:aws:iam::827581582529:instance-profile/ecsInstanceRole"
111109
instance_type = ["c7a.2xlarge", "c7a.4xlarge", "c7a.8xlarge", "c7a.large", "c7a.medium", "c7a.xlarge"]
112110
max_vcpus = 512
@@ -115,7 +113,6 @@ resource "aws_batch_compute_environment" "c7a_instances_2026_05_24" {
115113
# dynamically instead of hardcoding them here.
116114
security_group_ids = ["sg-09316f4e9077adc8c"]
117115
subnets = ["subnet-ece172e0"]
118-
tags = {}
119116
type = "EC2"
120117

121118
ec2_configuration {

0 commit comments

Comments
 (0)