Skip to content
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

resource/aws_appautoscaling_target: Automatically retry creation on ValidationException: ECS service doesn't exist for ECS eventual consistency #11693

Merged

Commits on Jan 21, 2020

  1. resource/aws_appautoscaling_scheduled_action: Automatically retry cre…

    …ation on `ValidationException: ECS service doesn't exist` for ECS eventual consistency
    
    Previously in the acceptance testing:
    
    ```
    --- FAIL: TestAccAWSAppautoscalingScheduledAction_ECS (40.50s)
        testing.go:635: Step 0 error: errors during apply:
    
            Error: Error creating application autoscaling target: ValidationException: ECS service doesn't exist: service/tf-ecs-cluster-g2sk8/tf-ecs-service-g2sk8
    ```
    
    Output from acceptance testing:
    
    ```
    --- PASS: TestAccAWSAppautoscalingScheduledAction_ECS (60.14s)
    
    --- PASS: TestAccAWSAppautoScalingTarget_optionalRoleArn (27.27s)
    --- PASS: TestAccAWSAppautoScalingTarget_multipleTargets (28.99s)
    --- PASS: TestAccAWSAppautoScalingTarget_spotFleetRequest (75.41s)
    --- PASS: TestAccAWSAppautoScalingTarget_basic (84.45s)
    --- PASS: TestAccAWSAppautoScalingTarget_emrCluster (440.42s)
    ```
    bflad committed Jan 21, 2020
    Configuration menu
    Copy the full SHA
    f007de2 View commit details
    Browse the repository at this point in the history