-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
r/emr_cluster: enable configuration of ebs root volume size #1375
Conversation
Hey @rmmjohann This seems very good for a 1st-time contribution! 👍 Could you also check the attribute existence in the acceptance test? If you need any help on that, feel free to ask! |
I'll do this within the next days |
…form-provider-aws # Conflicts: # aws/resource_aws_emr_cluster_test.go
@Ninir done |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me :)
$ make testacc TEST=./aws TESTARGS='-run=TestAccAWSEMRCluster_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -run=TestAccAWSEMRCluster_ -timeout 120m
=== RUN TestAccAWSEMRCluster_basic
--- PASS: TestAccAWSEMRCluster_basic (622.78s)
=== RUN TestAccAWSEMRCluster_instance_group
--- PASS: TestAccAWSEMRCluster_instance_group (722.08s)
=== RUN TestAccAWSEMRCluster_security_config
--- PASS: TestAccAWSEMRCluster_security_config (648.09s)
=== RUN TestAccAWSEMRCluster_bootstrap_ordering
--- PASS: TestAccAWSEMRCluster_bootstrap_ordering (672.08s)
=== RUN TestAccAWSEMRCluster_visibleToAllUsers
--- PASS: TestAccAWSEMRCluster_visibleToAllUsers (1497.36s)
=== RUN TestAccAWSEMRCluster_tags
--- PASS: TestAccAWSEMRCluster_tags (1146.55s)
=== RUN TestAccAWSEMRCluster_basic
--- PASS: TestAccAWSEMRCluster_basic (689.31s)
This is just missing the documentation update, so that users know of this feature. Can you add it please?
Also and just for the information: do you have an official documentation link where I could see this attribute in action? can't find one in the EMR cluster API nor in the CloudFormation one, only in the CLI one.
Would like to see validation and so on.
Thanks!
Sure, here are the docs: https://docs.aws.amazon.com/sdk-for-go/api/service/emr/#RunJobFlowInput. Your test output doesn't contain the test for the root volume size. Is this the full output? Yes, docs are crutial - didn't had them in mind. I'll fix them tomorrow as well. |
It seems the output has been cut, but the test do passed :)
Yes, this was my concern when checking the docs: can't find anything about this particular attribute in the API / CF but in the CLI & SDK.
Thank your for that! :) |
Strange, that there is no reference at the API and CloudFormation docs. The terraform docs are now updated. Setting |
@Ninir is there somehting left to do? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @rolandjohann
Seems good to me :)
$ make testacc TEST=./aws TESTARGS='-run=TestAccAWSEMRCluster_root_volume_size'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -run=TestAccAWSEMRCluster_root_volume_size -timeout 120m
=== RUN TestAccAWSEMRCluster_root_volume_size
--- PASS: TestAccAWSEMRCluster_root_volume_size (1204.53s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 1204.569s
Thanks for the work! 👍
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! |
EBS root volume size configuration implementation