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

[Bug]: TestAccEMRCluster_autoTerminationPolicy failing due to ebs_config missing computed fields #38373

Open
DanielRieske opened this issue Jul 15, 2024 · 1 comment
Labels
bug Addresses a defect in current functionality. service/emr Issues and PRs that pertain to the emr service. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure.

Comments

@DanielRieske
Copy link
Contributor

Terraform Core Version

v1.9.1

AWS Provider Version

5.58.0

Affected Resource(s)

aws_emr_cluster

Expected Behavior

That during the import check the computed ebs_config fields are set.

Actual Behavior

They are not set and return a diff.

Relevant Error/Panic Output Snippet

=== NAME  TestAccEMRCluster_autoTerminationPolicy
    cluster_test.go:90: Step 2/5 error running import: ImportStateVerify attributes not equivalent. Difference is shown below. The - symbol indicates attributes missing after import.
        
          map[string]string{
        + 	"master_instance_group.0.ebs_config.#":                      "1",
        + 	"master_instance_group.0.ebs_config.0.%":                    "5",
        + 	"master_instance_group.0.ebs_config.0.iops":                 "0",
        + 	"master_instance_group.0.ebs_config.0.size":                 "32",
        + 	"master_instance_group.0.ebs_config.0.throughput":           "0",
        + 	"master_instance_group.0.ebs_config.0.type":                 "gp2",
        + 	"master_instance_group.0.ebs_config.0.volumes_per_instance": "1",
        - 	"master_instance_group.0.id":                                "",
        + 	"master_instance_group.0.id":                                "ig-32TNJPGQRHJKC",
          }
--- FAIL: TestAccEMRCluster_autoTerminationPolicy (696.78s)

Terraform Configuration Files

See testAccClusterConfig_autoTermination

Steps to Reproduce

Run make testacc TESTARGS='-run=TestAccEMRCluster_autoTerminationPolicy' PKG=emr

Debug Output

No response

Panic Output

No response

Important Factoids

No response

References

No response

Would you like to implement a fix?

None

@DanielRieske DanielRieske added the bug Addresses a defect in current functionality. label Jul 15, 2024
Copy link

Community Note

Voting for Prioritization

  • Please vote on this issue by adding a 👍 reaction to the original post to help the community and maintainers prioritize this request.
  • Please see our prioritization guide for information on how we prioritize.
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.

Volunteering to Work on This Issue

  • If you are interested in working on this issue, please leave a comment.
  • If this would be your first contribution, please review the contribution guide.

@terraform-aws-provider terraform-aws-provider bot added the needs-triage Waiting for first response or review from a maintainer. label Jul 15, 2024
@justinretzolk justinretzolk added tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. service/emr Issues and PRs that pertain to the emr service. and removed needs-triage Waiting for first response or review from a maintainer. labels Jul 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Addresses a defect in current functionality. service/emr Issues and PRs that pertain to the emr service. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure.
Projects
None yet
Development

No branches or pull requests

2 participants