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

service/ecr: Handle read-after-create eventual consistency in resources #18464

Merged
merged 3 commits into from
Apr 2, 2021

Commits on Mar 29, 2021

  1. service/ecr: Handle read-after-create eventual consistency in resources

    Reference: #7722
    Reference: #9987
    Reference: #16796
    
    Output from acceptance testing in AWS Commercial:
    
    ```
    --- PASS: TestAccAWSEcrLifecyclePolicy_basic (27.52s)
    
    --- PASS: TestAccAWSEcrRepository_basic (26.60s)
    --- PASS: TestAccAWSEcrRepository_encryption_aes256 (44.04s)
    --- PASS: TestAccAWSEcrRepository_encryption_kms (45.31s)
    --- PASS: TestAccAWSEcrRepository_image_scanning_configuration (54.50s)
    --- PASS: TestAccAWSEcrRepository_immutability (26.96s)
    --- PASS: TestAccAWSEcrRepository_tags (37.62s)
    
    --- PASS: TestAccAWSEcrRepositoryPolicy_basic (39.48s)
    --- PASS: TestAccAWSEcrRepositoryPolicy_disappears (22.65s)
    --- PASS: TestAccAWSEcrRepositoryPolicy_disappears_repository (20.02s)
    --- PASS: TestAccAWSEcrRepositoryPolicy_iam (34.80s)
    ```
    
    Output from acceptance testing in AWS GovCloud (US):
    
    ```
    --- PASS: TestAccAWSEcrLifecyclePolicy_basic (34.33s)
    
    --- PASS: TestAccAWSEcrRepository_basic (31.52s)
    --- PASS: TestAccAWSEcrRepository_encryption_aes256 (71.67s)
    --- PASS: TestAccAWSEcrRepository_encryption_kms (62.87s)
    --- PASS: TestAccAWSEcrRepository_image_scanning_configuration (80.53s)
    --- PASS: TestAccAWSEcrRepository_immutability (35.40s)
    --- PASS: TestAccAWSEcrRepository_tags (60.99s)
    
    --- PASS: TestAccAWSEcrRepositoryPolicy_basic (59.75s)
    --- PASS: TestAccAWSEcrRepositoryPolicy_disappears (30.05s)
    --- PASS: TestAccAWSEcrRepositoryPolicy_disappears_repository (31.80s)
    --- PASS: TestAccAWSEcrRepositoryPolicy_iam (38.94s)
    ```
    bflad committed Mar 29, 2021
    Configuration menu
    Copy the full SHA
    874a103 View commit details
    Browse the repository at this point in the history
  2. Update CHANGELOG for #18464

    bflad committed Mar 29, 2021
    Configuration menu
    Copy the full SHA
    fd8e7ad View commit details
    Browse the repository at this point in the history
  3. resource/aws_ecr_lifecycle_policy: Add missing tfresource.TimedOut check

    Output from acceptance testing:
    
    ```
    --- PASS: TestAccAWSEcrLifecyclePolicy_basic (15.14s)
    ```
    bflad committed Mar 29, 2021
    Configuration menu
    Copy the full SHA
    8225c31 View commit details
    Browse the repository at this point in the history