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

Issue-1146 part a #14788

Merged
merged 19 commits into from
Aug 31, 2020
Merged

Issue-1146 part a #14788

merged 19 commits into from
Aug 31, 2020

Conversation

c4po
Copy link
Contributor

@c4po c4po commented Aug 22, 2020

Community Note

  • Please vote on this pull request by adding a 👍 reaction to the original pull request comment to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for pull request followers and do not help prioritize the request

Relates #1146

Release note for CHANGELOG:

* resource `aws_emr_cluster`: add `master_instance_fleet` and `core_instance_fleet`

Output from acceptance testing:

$ make testacc TESTARGS='-run=TestAccAWSEMRCluster_instance_fleet'

==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSEMRCluster_instance_fleet -timeout 120m
=== RUN   TestAccAWSEMRCluster_instance_fleet
 --- PASS: TestAccAWSEMRCluster_instance_fleet (507.56s)
PASS
ok  	github.com/terraform-providers/terraform-provider-aws/aws	507.614s

$ make testacc TESTARGS='-run=TestAccAWSEMRCluster_instance_fleet_master_only'

==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSEMRCluster_instance_fleet_master_only -timeout 120m
=== RUN   TestAccAWSEMRCluster_instance_fleet_master_only
=== PAUSE TestAccAWSEMRCluster_instance_fleet_master_only
=== CONT  TestAccAWSEMRCluster_instance_fleet_master_only
--- PASS: TestAccAWSEMRCluster_instance_fleet_master_only (476.44s)
PASS
ok  	github.com/terraform-providers/terraform-provider-aws/aws	476.506s

@c4po c4po requested a review from a team August 22, 2020 17:33
@ghost ghost added size/XL Managed by automation to categorize the size of a PR. service/emr Issues and PRs that pertain to the emr service. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. needs-triage Waiting for first response or review from a maintainer. documentation Introduces or discusses updates to documentation. labels Aug 22, 2020
@c4po c4po closed this Aug 23, 2020
@c4po c4po reopened this Aug 23, 2020
@bflad bflad added enhancement Requests to existing resources that expand the functionality or scope. and removed needs-triage Waiting for first response or review from a maintainer. labels Aug 24, 2020
@bflad bflad self-assigned this Aug 24, 2020
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.

Hi @c4po 👋 Thank you so much for splitting up the pull requests -- this is off to a good start. Please see the below initial feedback and reach out if you have any questions or do not have time to implement the requested items. 👍

aws/resource_aws_emr_cluster.go Outdated Show resolved Hide resolved
aws/resource_aws_emr_cluster.go Show resolved Hide resolved
aws/resource_aws_emr_cluster.go Outdated Show resolved Hide resolved
aws/resource_aws_emr_cluster.go Outdated Show resolved Hide resolved
aws/resource_aws_emr_cluster.go Outdated Show resolved Hide resolved
aws/resource_aws_emr_cluster_test.go Outdated Show resolved Hide resolved
aws/resource_aws_emr_cluster_test.go Show resolved Hide resolved
website/docs/r/emr_cluster.html.markdown Outdated Show resolved Hide resolved
website/docs/r/emr_cluster.html.markdown Outdated Show resolved Hide resolved
website/docs/r/emr_cluster.html.markdown Show resolved Hide resolved
@bflad bflad added the waiting-response Maintainers are waiting on response from community or contributor. label Aug 25, 2020
@c4po c4po requested a review from bflad August 26, 2020 02:38
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.

I think these are the last few things before we can get this initial support merged in -- thanks!

aws/resource_aws_emr_cluster.go Outdated Show resolved Hide resolved
aws/resource_aws_emr_cluster.go Outdated Show resolved Hide resolved
aws/resource_aws_emr_cluster.go Outdated Show resolved Hide resolved
aws/resource_aws_emr_cluster.go Outdated Show resolved Hide resolved
website/docs/r/emr_cluster.html.markdown Outdated Show resolved Hide resolved
website/docs/r/emr_cluster.html.markdown Outdated Show resolved Hide resolved
@c4po c4po requested a review from bflad August 27, 2020 17:33
@c4po c4po requested a review from bflad August 27, 2020 19:40
@c4po c4po requested a review from bflad August 28, 2020 17:32
aws/resource_aws_emr_cluster_test.go Outdated Show resolved Hide resolved
website/docs/r/emr_cluster.html.markdown Outdated Show resolved Hide resolved
@ghost ghost added the service/ec2 Issues and PRs that pertain to the ec2 service. label Aug 29, 2020
@c4po c4po requested a review from bflad August 29, 2020 03:03
@bflad bflad removed the waiting-response Maintainers are waiting on response from community or contributor. label Aug 31, 2020
@bflad bflad added this to the v3.5.0 milestone Aug 31, 2020
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.

Looks good, thank you @c4po 🚀

Output from acceptance testing (failure unrelated):

--- FAIL: TestAccAWSEMRCluster_Ec2Attributes_DefaultManagedSecurityGroups (761.58s)
--- PASS: TestAccAWSEMRCluster_additionalInfo (389.66s)
--- PASS: TestAccAWSEMRCluster_basic (421.31s)
--- PASS: TestAccAWSEMRCluster_bootstrap_ordering (1315.25s)
--- PASS: TestAccAWSEMRCluster_configurationsJson (488.41s)
--- PASS: TestAccAWSEMRCluster_CoreInstanceGroup_AutoscalingPolicy (530.87s)
--- PASS: TestAccAWSEMRCluster_CoreInstanceGroup_BidPrice (1073.94s)
--- PASS: TestAccAWSEMRCluster_CoreInstanceGroup_InstanceCount (578.27s)
--- PASS: TestAccAWSEMRCluster_CoreInstanceGroup_InstanceType (822.02s)
--- PASS: TestAccAWSEMRCluster_CoreInstanceGroup_Name (885.45s)
--- PASS: TestAccAWSEMRCluster_custom_ami_id (546.87s)
--- PASS: TestAccAWSEMRCluster_disappears (443.96s)
--- PASS: TestAccAWSEMRCluster_ebs_config (555.62s)
--- PASS: TestAccAWSEMRCluster_instance_fleet (454.47s)
--- PASS: TestAccAWSEMRCluster_instance_fleet_master_only (429.68s)
--- PASS: TestAccAWSEMRCluster_keepJob (390.32s)
--- PASS: TestAccAWSEMRCluster_Kerberos_ClusterDedicatedKdc (520.68s)
--- PASS: TestAccAWSEMRCluster_MasterInstanceGroup_BidPrice (949.21s)
--- PASS: TestAccAWSEMRCluster_MasterInstanceGroup_InstanceCount (1074.24s)
--- PASS: TestAccAWSEMRCluster_MasterInstanceGroup_InstanceType (976.43s)
--- PASS: TestAccAWSEMRCluster_MasterInstanceGroup_Name (930.00s)
--- PASS: TestAccAWSEMRCluster_root_volume_size (780.90s)
--- PASS: TestAccAWSEMRCluster_s3Logging (528.25s)
--- PASS: TestAccAWSEMRCluster_security_config (687.55s)
--- PASS: TestAccAWSEMRCluster_Step_Basic (493.95s)
--- PASS: TestAccAWSEMRCluster_step_concurrency_level (543.97s)
--- PASS: TestAccAWSEMRCluster_Step_ConfigMode (896.25s)
--- PASS: TestAccAWSEMRCluster_Step_Multiple (493.67s)
--- PASS: TestAccAWSEMRCluster_tags (820.00s)
--- PASS: TestAccAWSEMRCluster_terminationProtected (614.80s)
--- PASS: TestAccAWSEMRCluster_visibleToAllUsers (946.47s)

@bflad bflad merged commit 60d06ef into hashicorp:master Aug 31, 2020
bflad added a commit that referenced this pull request Aug 31, 2020
@ghost
Copy link

ghost commented Sep 3, 2020

This has been released in version 3.5.0 of the Terraform AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.

For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template for triage. Thanks!

@ghost
Copy link

ghost commented Sep 30, 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 as resolved and limited conversation to collaborators Sep 30, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
documentation Introduces or discusses updates to documentation. enhancement Requests to existing resources that expand the functionality or scope. service/ec2 Issues and PRs that pertain to the ec2 service. service/emr Issues and PRs that pertain to the emr service. size/XL Managed by automation to categorize the size of a PR. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants