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_emr_cluster: Retry creation on AccessDeniedException #3050

Merged
merged 1 commit into from
Jan 18, 2018

Conversation

radeksimko
Copy link
Member

This is to address the following test failure:

=== RUN   TestAccAWSEMRInstanceGroup_basic
--- FAIL: TestAccAWSEMRInstanceGroup_basic (26.82s)
    testing.go:513: Step 0 error: Error applying: 1 error(s) occurred:
        
        * aws_emr_cluster.tf-test-cluster: 1 error(s) occurred:
        
        * aws_emr_cluster.tf-test-cluster: AccessDeniedException: Failed to authorize instance profile arn:aws:iam::*******:instance-profile/emr_profile_5232285268007466600
            status code: 400, request id: 4f3c4796-fc16-11e7-b955-1520eb1b001c

Test results

=== RUN   TestAccAWSEMRCluster_bootstrap_ordering
--- PASS: TestAccAWSEMRCluster_bootstrap_ordering (386.92s)
=== RUN   TestAccAWSEMRCluster_security_config
--- PASS: TestAccAWSEMRCluster_security_config (401.14s)
=== RUN   TestAccAWSEMRCluster_terminationProtected
--- PASS: TestAccAWSEMRCluster_terminationProtected (414.99s)
=== RUN   TestAccAWSEMRCluster_basic
--- PASS: TestAccAWSEMRCluster_basic (448.05s)
=== RUN   TestAccAWSEMRCluster_instance_group
--- PASS: TestAccAWSEMRCluster_instance_group (489.23s)
=== RUN   TestAccAWSEMRCluster_s3Logging
--- PASS: TestAccAWSEMRCluster_s3Logging (566.18s)
=== RUN   TestAccAWSEMRCluster_tags
--- PASS: TestAccAWSEMRCluster_tags (856.61s)
=== RUN   TestAccAWSEMRCluster_visibleToAllUsers
--- PASS: TestAccAWSEMRCluster_visibleToAllUsers (1067.71s)
=== RUN   TestAccAWSEMRCluster_root_volume_size
--- PASS: TestAccAWSEMRCluster_root_volume_size (1416.18s)

@radeksimko radeksimko added bug Addresses a defect in current functionality. service/emr Issues and PRs that pertain to the emr service. labels Jan 18, 2018
@bflad bflad added this to the v1.7.1 milestone Jan 18, 2018
Copy link
Contributor

@bflad bflad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! :shipit:

@radeksimko radeksimko merged commit 25830c0 into master Jan 18, 2018
@radeksimko radeksimko deleted the b-emr-cluster-retry-on-ade branch January 18, 2018 15:19
@bflad
Copy link
Contributor

bflad commented Jan 22, 2018

This has been released in terraform-provider-aws version 1.7.1. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.

@ghost
Copy link

ghost commented Apr 8, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks!

@ghost ghost locked and limited conversation to collaborators Apr 8, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Addresses a defect in current functionality. service/emr Issues and PRs that pertain to the emr service.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants