|
461 | 461 | "output": {
|
462 | 462 | "AutoScalingGroups": [
|
463 | 463 | {
|
464 |
| - "AutoScalingGroupARN": "arn:aws:autoscaling:us-west-2:123456789012:autoScalingGroup:930d940e-891e-4781-a11a-7b0acd480f03:autoScalingGroupName/my-auto-scaling-group", |
| 464 | + "AutoScalingGroupARN": "arn:aws:autoscaling:us-west-1:123456789012:autoScalingGroup:12345678-1234-1234-1234-123456789012:autoScalingGroupName/my-auto-scaling-group", |
465 | 465 | "AutoScalingGroupName": "my-auto-scaling-group",
|
466 | 466 | "AvailabilityZones": [
|
| 467 | + "us-west-2a", |
| 468 | + "us-west-2b", |
467 | 469 | "us-west-2c"
|
468 | 470 | ],
|
469 |
| - "CreatedTime": "2013-08-19T20:53:25.584Z", |
| 471 | + "CreatedTime": "2023-03-09T22:15:11.611Z", |
470 | 472 | "DefaultCooldown": 300,
|
471 |
| - "DesiredCapacity": 1, |
| 473 | + "DesiredCapacity": 2, |
472 | 474 | "EnabledMetrics": [
|
473 | 475 |
|
474 | 476 | ],
|
|
478 | 480 | {
|
479 | 481 | "AvailabilityZone": "us-west-2c",
|
480 | 482 | "HealthStatus": "Healthy",
|
481 |
| - "InstanceId": "i-4ba0837f", |
| 483 | + "InstanceId": "i-05b4f7d5be44822a6", |
| 484 | + "InstanceType": "t3.micro", |
| 485 | + "LaunchConfigurationName": "my-launch-config", |
| 486 | + "LifecycleState": "InService", |
| 487 | + "ProtectedFromScaleIn": false |
| 488 | + }, |
| 489 | + { |
| 490 | + "AvailabilityZone": "us-west-2b", |
| 491 | + "HealthStatus": "Healthy", |
| 492 | + "InstanceId": "i-0c20ac468fa3049e8", |
| 493 | + "InstanceType": "t3.micro", |
482 | 494 | "LaunchConfigurationName": "my-launch-config",
|
483 | 495 | "LifecycleState": "InService",
|
484 | 496 | "ProtectedFromScaleIn": false
|
|
488 | 500 | "LoadBalancerNames": [
|
489 | 501 |
|
490 | 502 | ],
|
491 |
| - "MaxSize": 1, |
492 |
| - "MinSize": 0, |
| 503 | + "MaxSize": 5, |
| 504 | + "MinSize": 1, |
493 | 505 | "NewInstancesProtectedFromScaleIn": false,
|
| 506 | + "ServiceLinkedRoleARN": "arn:aws:iam::123456789012:role/aws-service-role/autoscaling.amazonaws.com/AWSServiceRoleForAutoScaling", |
494 | 507 | "SuspendedProcesses": [
|
495 | 508 |
|
496 | 509 | ],
|
497 | 510 | "Tags": [
|
498 | 511 |
|
| 512 | + ], |
| 513 | + "TargetGroupARNs": [ |
| 514 | + |
499 | 515 | ],
|
500 | 516 | "TerminationPolicies": [
|
501 | 517 | "Default"
|
502 | 518 | ],
|
503 |
| - "VPCZoneIdentifier": "subnet-12345678" |
| 519 | + "TrafficSources": [ |
| 520 | + |
| 521 | + ], |
| 522 | + "VPCZoneIdentifier": "subnet-5ea0c127,subnet-6194ea3b,subnet-c934b782" |
504 | 523 | }
|
505 | 524 | ]
|
506 | 525 | },
|
|
519 | 538 | {
|
520 | 539 | "input": {
|
521 | 540 | "InstanceIds": [
|
522 |
| - "i-4ba0837f" |
| 541 | + "i-05b4f7d5be44822a6" |
523 | 542 | ]
|
524 | 543 | },
|
525 | 544 | "output": {
|
|
528 | 547 | "AutoScalingGroupName": "my-auto-scaling-group",
|
529 | 548 | "AvailabilityZone": "us-west-2c",
|
530 | 549 | "HealthStatus": "HEALTHY",
|
531 |
| - "InstanceId": "i-4ba0837f", |
| 550 | + "InstanceId": "i-05b4f7d5be44822a6", |
| 551 | + "InstanceType": "t3.micro", |
532 | 552 | "LaunchConfigurationName": "my-launch-config",
|
533 | 553 | "LifecycleState": "InService",
|
534 | 554 | "ProtectedFromScaleIn": false
|
|
578 | 598 | {
|
579 | 599 | "AutoScalingGroupName": "my-auto-scaling-group",
|
580 | 600 | "InstanceRefreshId": "08b91cf7-8fa6-48af-b6a6-d227f40f1b9b",
|
581 |
| - "InstancesToUpdate": 5, |
582 |
| - "PercentageComplete": 0, |
583 |
| - "StartTime": "2020-06-02T18:11:27Z", |
584 |
| - "Status": "InProgress" |
| 601 | + "InstancesToUpdate": 0, |
| 602 | + "PercentageComplete": 50, |
| 603 | + "Preferences": { |
| 604 | + "AutoRollback": true, |
| 605 | + "InstanceWarmup": 60, |
| 606 | + "MinHealthyPercentage": 90, |
| 607 | + "ScaleInProtectedInstances": "Ignore", |
| 608 | + "SkipMatching": false, |
| 609 | + "StandbyInstances": "Ignore" |
| 610 | + }, |
| 611 | + "StartTime": "2023-06-13T16:46:52+00:00", |
| 612 | + "Status": "InProgress", |
| 613 | + "StatusReason": "Waiting for instances to warm up before continuing. For example: i-0645704820a8e83ff is warming up." |
585 | 614 | },
|
586 | 615 | {
|
587 | 616 | "AutoScalingGroupName": "my-auto-scaling-group",
|
588 |
| - "EndTime": "2020-06-02T16:53:37Z", |
589 |
| - "InstanceRefreshId": "dd7728d0-5bc4-4575-96a3-1b2c52bf8bb1", |
| 617 | + "EndTime": "2023-06-02T13:59:45+00:00", |
| 618 | + "InstanceRefreshId": "0e151305-1e57-4a32-a256-1fd14157c5ec", |
590 | 619 | "InstancesToUpdate": 0,
|
591 | 620 | "PercentageComplete": 100,
|
592 |
| - "StartTime": "2020-06-02T16:43:19Z", |
| 621 | + "Preferences": { |
| 622 | + "AutoRollback": true, |
| 623 | + "InstanceWarmup": 60, |
| 624 | + "MinHealthyPercentage": 90, |
| 625 | + "ScaleInProtectedInstances": "Ignore", |
| 626 | + "SkipMatching": false, |
| 627 | + "StandbyInstances": "Ignore" |
| 628 | + }, |
| 629 | + "StartTime": "2023-06-02T13:53:37+00:00", |
593 | 630 | "Status": "Successful"
|
594 | 631 | }
|
595 | 632 | ]
|
|
871 | 908 | "Activities": [
|
872 | 909 | {
|
873 | 910 | "ActivityId": "f9f2d65b-f1f2-43e7-b46d-d86756459699",
|
| 911 | + "AutoScalingGroupARN": "arn:aws:autoscaling:us-east-1:123456789012:autoScalingGroup:12345678-1234-1234-1234-123456789012:autoScalingGroupName/my-auto-scaling-group", |
874 | 912 | "AutoScalingGroupName": "my-auto-scaling-group",
|
875 | 913 | "Cause": "At 2013-08-19T20:53:25Z a user request created an AutoScalingGroup changing the desired capacity from 0 to 1. At 2013-08-19T20:53:29Z an instance was started in response to a difference between desired and actual capacity, increasing the capacity from 0 to 1.",
|
876 | 914 | "Description": "Launching a new EC2 instance: i-4ba0837f",
|
|
0 commit comments