-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update Packer AMIs #39
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Terraform plan in ./terraform in the tvm-ci-prod workspace Plan: 0 to add, 10 to change, 2 to destroy.Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
~ update in-place
- destroy
Terraform will perform the following actions:
# module.Jenkins-Autoscalers["Prod-Autoscaler-Jenkins-ARM"].aws_autoscaling_group.agents will be updated in-place
~ resource "aws_autoscaling_group" "agents" {
id = "Prod-Autoscaler-Jenkins-ARM"
~ min_size = 2 -> 0
name = "Prod-Autoscaler-Jenkins-ARM"
# (21 unchanged attributes hidden)
~ mixed_instances_policy {
~ launch_template {
~ launch_template_specification {
~ version = "15" -> (known after apply)
# (2 unchanged attributes hidden)
}
}
# (1 unchanged block hidden)
}
}
# module.Jenkins-Autoscalers["Prod-Autoscaler-Jenkins-ARM"].aws_launch_template.autoscaler will be updated in-place
~ resource "aws_launch_template" "autoscaler" {
id = "lt-0307dda3ecfec7907"
~ image_id = "************************************************"
~ latest_version = 15 -> (known after apply)
name = "Prod-Autoscaler-Jenkins-ARM20220125202831343700000004"
tags = {}
# (10 unchanged attributes hidden)
# (2 unchanged blocks hidden)
}
# module.Jenkins-Autoscalers["Prod-Autoscaler-Jenkins-ARM-Small"].aws_autoscaling_group.agents will be updated in-place
~ resource "aws_autoscaling_group" "agents" {
id = "Prod-Autoscaler-Jenkins-ARM-Small"
name = "Prod-Autoscaler-Jenkins-ARM-Small"
# (22 unchanged attributes hidden)
~ mixed_instances_policy {
~ launch_template {
~ launch_template_specification {
~ version = "6" -> (known after apply)
# (2 unchanged attributes hidden)
}
}
# (1 unchanged block hidden)
}
}
# module.Jenkins-Autoscalers["Prod-Autoscaler-Jenkins-ARM-Small"].aws_launch_template.autoscaler will be updated in-place
~ resource "aws_launch_template" "autoscaler" {
id = "lt-0eb9ed056278d5a50"
~ image_id = "************************************************"
~ latest_version = 6 -> (known after apply)
name = "Prod-Autoscaler-Jenkins-ARM-Small20220524173817984800000001"
tags = {}
# (10 unchanged attributes hidden)
# (2 unchanged blocks hidden)
}
# module.Jenkins-Autoscalers["Prod-Autoscaler-Jenkins-CPU"].aws_autoscaling_group.agents will be updated in-place
~ resource "aws_autoscaling_group" "agents" {
id = "Prod-Autoscaler-Jenkins-CPU"
~ min_size = 5 -> 0
name = "Prod-Autoscaler-Jenkins-CPU"
# (21 unchanged attributes hidden)
~ mixed_instances_policy {
~ launch_template {
~ launch_template_specification {
~ version = "16" -> (known after apply)
# (2 unchanged attributes hidden)
}
}
# (1 unchanged block hidden)
}
}
# module.Jenkins-Autoscalers["Prod-Autoscaler-Jenkins-CPU"].aws_launch_template.autoscaler will be updated in-place
~ resource "aws_launch_template" "autoscaler" {
id = "lt-084b74d77c2ee9ba2"
~ image_id = "************************************************"
~ latest_version = 16 -> (known after apply)
name = "Prod-Autoscaler-Jenkins-CPU20220125202831342000000001"
tags = {}
# (10 unchanged attributes hidden)
# (2 unchanged blocks hidden)
}
# module.Jenkins-Autoscalers["Prod-Autoscaler-Jenkins-CPU-Small"].aws_autoscaling_group.agents will be updated in-place
~ resource "aws_autoscaling_group" "agents" {
id = "Prod-Autoscaler-Jenkins-CPU-Small"
name = "Prod-Autoscaler-Jenkins-CPU-Small"
# (22 unchanged attributes hidden)
~ mixed_instances_policy {
~ launch_template {
~ launch_template_specification {
~ version = "9" -> (known after apply)
# (2 unchanged attributes hidden)
}
}
# (1 unchanged block hidden)
}
}
# module.Jenkins-Autoscalers["Prod-Autoscaler-Jenkins-CPU-Small"].aws_launch_template.autoscaler will be updated in-place
~ resource "aws_launch_template" "autoscaler" {
id = "lt-02518d53b22a85dd8"
~ image_id = "************************************************"
~ latest_version = 9 -> (known after apply)
name = "Prod-Autoscaler-Jenkins-CPU-Small20220425184607394500000002"
tags = {}
# (10 unchanged attributes hidden)
# (2 unchanged blocks hidden)
}
# module.Jenkins-Autoscalers["Prod-Autoscaler-Jenkins-GPU"].aws_autoscaling_group.agents will be updated in-place
~ resource "aws_autoscaling_group" "agents" {
id = "Prod-Autoscaler-Jenkins-GPU"
name = "Prod-Autoscaler-Jenkins-GPU"
# (22 unchanged attributes hidden)
~ mixed_instances_policy {
~ launch_template {
~ launch_template_specification {
~ version = "12" -> (known after apply)
# (2 unchanged attributes hidden)
}
}
# (1 unchanged block hidden)
}
}
# module.Jenkins-Autoscalers["Prod-Autoscaler-Jenkins-GPU"].aws_launch_template.autoscaler will be updated in-place
~ resource "aws_launch_template" "autoscaler" {
id = "lt-0f6765aeec1cbbc77"
~ image_id = "************************************************"
~ latest_version = 12 -> (known after apply)
name = "Prod-Autoscaler-Jenkins-GPU20220125202831343600000003"
tags = {}
# (10 unchanged attributes hidden)
# (2 unchanged blocks hidden)
}
# module.Jenkins-Autoscalers["Prod-Autoscaler-Jenkins-GPU-4x"].aws_autoscaling_group.agents will be destroyed
# (because module.Jenkins-Autoscalers["Prod-Autoscaler-Jenkins-GPU-4x"] is not in configuration)
- resource "aws_autoscaling_group" "agents" {
- arn = "arn:aws:autoscaling:us-west-2:477529581014:autoScalingGroup:1eb95886-9ba4-4171-8426-5be3244e08b7:autoScalingGroupName/Prod-Autoscaler-Jenkins-GPU-4x" -> null
- availability_zones = [
- "us-west-2a",
- "us-west-2b",
- "us-west-2c",
] -> null
- capacity_rebalance = false -> null
- default_cooldown = 300 -> null
- desired_capacity = 0 -> null
- enabled_metrics = [] -> null
- force_delete = false -> null
- force_delete_warm_pool = false -> null
- health_check_grace_period = 300 -> null
- health_check_type = "EC2" -> null
- id = "Prod-Autoscaler-Jenkins-GPU-4x" -> null
- load_balancers = [] -> null
- max_instance_lifetime = 0 -> null
- max_size = 0 -> null
- metrics_granularity = "1Minute" -> null
- min_size = 0 -> null
- name = "Prod-Autoscaler-Jenkins-GPU-4x" -> null
- protect_from_scale_in = true -> null
- service_linked_role_arn = "arn:aws:iam::477529581014:role/aws-service-role/autoscaling.amazonaws.com/AWSServiceRoleForAutoScaling" -> null
- suspended_processes = [] -> null
- target_group_arns = [] -> null
- termination_policies = [] -> null
- vpc_zone_identifier = [
- "subnet-0548976da0eb119b8",
- "subnet-0ab37ff3dbeb0e52b",
- "subnet-0fa03daf38e6b72a8",
] -> null
- wait_for_capacity_timeout = "10m" -> null
- mixed_instances_policy {
- instances_distribution {
- on_demand_allocation_strategy = "prioritized" -> null
- on_demand_base_capacity = 0 -> null
- on_demand_percentage_above_base_capacity = 100 -> null
- spot_allocation_strategy = "capacity-optimized" -> null
- spot_instance_pools = 0 -> null
}
- launch_template {
- launch_template_specification {
- launch_template_id = "lt-01418a418e22d6974" -> null
- launch_template_name = "Prod-Autoscaler-Jenkins-GPU-4x20220425184607393700000001" -> null
- version = "5" -> null
}
}
}
}
# module.Jenkins-Autoscalers["Prod-Autoscaler-Jenkins-GPU-4x"].aws_launch_template.autoscaler will be destroyed
# (because module.Jenkins-Autoscalers["Prod-Autoscaler-Jenkins-GPU-4x"] is not in configuration)
- resource "aws_launch_template" "autoscaler" {
- arn = "arn:aws:ec2:us-west-2:477529581014:launch-template/lt-01418a418e22d6974" -> null
- default_version = 1 -> null
- disable_api_termination = false -> null
- id = "lt-01418a418e22d6974" -> null
- image_id = "ami-007d1b181dd7b1f6b" -> null
- instance_type = "g4dn.4xlarge" -> null
- key_name = "tvm_ci_creds" -> null
- latest_version = 5 -> null
- name = "Prod-Autoscaler-Jenkins-GPU-4x20220425184607393700000001" -> null
- name_prefix = "Prod-Autoscaler-Jenkins-GPU-4x" -> null
- security_group_names = [] -> null
- tags = {} -> null
- tags_all = {} -> null
- user_data = "IyEgL3Vzci9iaW4vZW52IGJhc2gKbWtkaXIgLXAgL2hvbWUvamVua2lucy8uc3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UMxbFpESTFOVEU1QUFBQUlEbnpyV1JVaW5RTzJWT3YwcUNKRjJRZXdBNHljVWlwV0g1M3cvdk1XTzZWIGRyaWF6YXRpCiIgPj4gL3Jvb3QvLnNzaC9hdXRob3JpemVkX2tleXMKZWNobyAiUGVybWl0VXNlckVudmlyb25tZW50IHllcyIgPj4gL2V0Yy9zc2gvc3NoZF9jb25maWcKc3lzdGVtY3RsIHJlc3RhcnQgc3NoZAo=" -> null
- vpc_security_group_ids = [
- "sg-03e5a485a8fd23223",
- "sg-0a7cd8e7e7707c124",
] -> null
- block_device_mappings {
- device_name = "/dev/sda1" -> null
- ebs {
- iops = 0 -> null
- throughput = 0 -> null
- volume_size = 150 -> null
}
}
- iam_instance_profile {
- name = "autoscalers_instance_profile" -> null
}
}
Plan: 0 to add, 10 to change, 2 to destroy. ❌ Error applying plan in terraform #16 |
mehrdadh
pushed a commit
to mehrdadh/ci
that referenced
this pull request
Aug 2, 2022
This moves the Jenkins head to a larger node type to try to improve performance (4 vCPU -> 16 vCPU)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.