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_ecs_capacity_provider: Add support for instance warmup period #16941

Merged

Conversation

shuheiktgw
Copy link
Collaborator

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

Closes #16673

Release note for CHANGELOG:

resource/aws_ecs_capacity_provider: Add support for instance warmup period

Output from acceptance testing:

$  make testacc TESTARGS='-run=TestAccAWSEcsCapacityProvider_*'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSEcsCapacityProvider_* -timeout 120m
=== RUN   TestAccAWSEcsCapacityProvider_basic
=== PAUSE TestAccAWSEcsCapacityProvider_basic
=== RUN   TestAccAWSEcsCapacityProvider_disappears
=== PAUSE TestAccAWSEcsCapacityProvider_disappears
=== RUN   TestAccAWSEcsCapacityProvider_ManagedScaling
=== PAUSE TestAccAWSEcsCapacityProvider_ManagedScaling
=== RUN   TestAccAWSEcsCapacityProvider_ManagedScalingPartial
=== PAUSE TestAccAWSEcsCapacityProvider_ManagedScalingPartial
=== RUN   TestAccAWSEcsCapacityProvider_Tags
=== PAUSE TestAccAWSEcsCapacityProvider_Tags
=== CONT  TestAccAWSEcsCapacityProvider_basic
=== CONT  TestAccAWSEcsCapacityProvider_ManagedScalingPartial
=== CONT  TestAccAWSEcsCapacityProvider_ManagedScaling
=== CONT  TestAccAWSEcsCapacityProvider_disappears
=== CONT  TestAccAWSEcsCapacityProvider_Tags
--- PASS: TestAccAWSEcsCapacityProvider_ManagedScalingPartial (66.75s)
--- PASS: TestAccAWSEcsCapacityProvider_ManagedScaling (66.82s)
--- PASS: TestAccAWSEcsCapacityProvider_disappears (68.01s)
--- PASS: TestAccAWSEcsCapacityProvider_basic (85.37s)
--- PASS: TestAccAWSEcsCapacityProvider_Tags (137.94s)
PASS
ok  	github.com/terraform-providers/terraform-provider-aws/aws	139.787s

Thank you for your review! 👍

@shuheiktgw shuheiktgw requested a review from a team as a code owner January 3, 2021 01:17
@ghost ghost added size/XS Managed by automation to categorize the size of a PR. documentation Introduces or discusses updates to documentation. service/ecs Issues and PRs that pertain to the ecs service. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. labels Jan 3, 2021
@github-actions github-actions bot added the needs-triage Waiting for first response or review from a maintainer. label Jan 3, 2021
@shuheiktgw shuheiktgw changed the title Add support for ECS capacity provider instance_warmup_period resource/aws_ecs_capacity_provider: Add support for instance warmup period Jan 3, 2021
@shuheiktgw
Copy link
Collaborator Author

This PR conflicts with #16942

@shuheiktgw shuheiktgw force-pushed the ecs_capacity_provider_instance_warmup_period branch from c272359 to 0dff7f3 Compare January 17, 2021 11:15
Base automatically changed from master to main January 23, 2021 01:00
@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 Feb 18, 2021
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 great, @shuheiktgw, just going to adjust the validation to match API reference. 👍

aws/resource_aws_ecs_capacity_provider.go Outdated Show resolved Hide resolved
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.

Thank you, @shuheiktgw 🚀 (Will add changelog entry on merge)

Output from acceptance testing in AWS Commercial:

--- PASS: TestAccAWSEcsCapacityProvider_basic (82.59s)
--- PASS: TestAccAWSEcsCapacityProvider_disappears (61.98s)
--- PASS: TestAccAWSEcsCapacityProvider_ManagedScaling (83.84s)
--- PASS: TestAccAWSEcsCapacityProvider_ManagedScalingPartial (60.27s)
--- PASS: TestAccAWSEcsCapacityProvider_Tags (100.69s)

Output from acceptance testing in AWS GovCloud (US):

--- PASS: TestAccAWSEcsCapacityProvider_basic (64.74s)
--- PASS: TestAccAWSEcsCapacityProvider_disappears (61.46s)
--- PASS: TestAccAWSEcsCapacityProvider_ManagedScaling (56.88s)
--- PASS: TestAccAWSEcsCapacityProvider_ManagedScalingPartial (56.82s)
--- PASS: TestAccAWSEcsCapacityProvider_Tags (126.82s)

@bflad bflad merged commit eee0824 into hashicorp:main Feb 18, 2021
@github-actions github-actions bot added this to the v3.29.0 milestone Feb 18, 2021
bflad added a commit that referenced this pull request Feb 18, 2021
@shuheiktgw shuheiktgw deleted the ecs_capacity_provider_instance_warmup_period branch February 18, 2021 21:59
@shuheiktgw
Copy link
Collaborator Author

Thank you for your review! @bflad

@ghost
Copy link

ghost commented Feb 19, 2021

This has been released in version 3.29.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 Mar 21, 2021

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 Mar 21, 2021
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/ecs Issues and PRs that pertain to the ecs service. size/XS 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.

ECS Capacity Provider - InstanceWarmupPeriod
2 participants