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

providers/aws: support for lifecycle hooks at ASG creation #5620

Merged
merged 2 commits into from
Sep 3, 2016
Merged

providers/aws: support for lifecycle hooks at ASG creation #5620

merged 2 commits into from
Sep 3, 2016

Conversation

pcarrier
Copy link
Contributor

Closes #5619.

@pcarrier pcarrier changed the title providers/aws: support for lifecycle hooks at ASG creation [WIP] providers/aws: support for lifecycle hooks at ASG creation Mar 14, 2016
@pcarrier pcarrier changed the title [WIP] providers/aws: support for lifecycle hooks at ASG creation providers/aws: support for lifecycle hooks at ASG creation Mar 14, 2016
@vincer
Copy link
Contributor

vincer commented Mar 23, 2016

Thanks, just ran into this today! Hope this gets merged soon!

@glasser
Copy link
Contributor

glasser commented May 17, 2016

Is there anything we can do to help this get merged?

@jen20
Copy link
Contributor

jen20 commented Aug 22, 2016

Hi @pcarrier and @glasser! Sorry this has taken so long to get round to reviewing. Initially this looks good to me, but we have merge conflicts (probably from ALB support though unverified), and it would be good to see an acceptance test around the new functionality. If you're able to take a look at that (particularly adding a test) we should be able to get this merged in fairly quickly now. Thanks for the contribution!

@glasser
Copy link
Contributor

glasser commented Aug 23, 2016

@jen20 Great to hear! I rebased it and added an acceptance test. Added a small refactor of a related test to help with that.

@glasser
Copy link
Contributor

glasser commented Sep 1, 2016

@jen20 Resolved another round of merge conflicts. Hoping you can merge this soon!

@stack72
Copy link
Contributor

stack72 commented Sep 3, 2016

Hi @pcarrier

I have pulled this locally and manually merged it to resolve the merge conflict :)

% make testacc TEST=./builtin/providers/aws TESTARGS='-run=TestAccAWSAutoScalingGroup_'                                                                                                             2 ↵ ═ ✚
==> Checking that code complies with gofmt requirements...
go generate $(go list ./... | grep -v /terraform/vendor/)
2016/09/04 01:28:07 Generated command/internal_plugin_list.go
TF_ACC=1 go test ./builtin/providers/aws -v -run=TestAccAWSAutoScalingGroup_ -timeout 120m
=== RUN   TestAccAWSAutoScalingGroup_importBasic
--- PASS: TestAccAWSAutoScalingGroup_importBasic (197.26s)
=== RUN   TestAccAWSAutoScalingGroup_basic
--- PASS: TestAccAWSAutoScalingGroup_basic (229.21s)
=== RUN   TestAccAWSAutoScalingGroup_autoGeneratedName
--- PASS: TestAccAWSAutoScalingGroup_autoGeneratedName (54.24s)
=== RUN   TestAccAWSAutoScalingGroup_terminationPolicies
--- PASS: TestAccAWSAutoScalingGroup_terminationPolicies (72.85s)
=== RUN   TestAccAWSAutoScalingGroup_tags
--- PASS: TestAccAWSAutoScalingGroup_tags (259.24s)
=== RUN   TestAccAWSAutoScalingGroup_VpcUpdates
--- PASS: TestAccAWSAutoScalingGroup_VpcUpdates (108.40s)
=== RUN   TestAccAWSAutoScalingGroup_WithLoadBalancer
--- PASS: TestAccAWSAutoScalingGroup_WithLoadBalancer (468.16s)
=== RUN   TestAccAWSAutoScalingGroup_withPlacementGroup
--- PASS: TestAccAWSAutoScalingGroup_withPlacementGroup (154.89s)
=== RUN   TestAccAWSAutoScalingGroup_enablingMetrics
--- PASS: TestAccAWSAutoScalingGroup_enablingMetrics (269.78s)
=== RUN   TestAccAWSAutoScalingGroup_withMetrics
--- PASS: TestAccAWSAutoScalingGroup_withMetrics (45.08s)
=== RUN   TestAccAWSAutoScalingGroup_ALB_TargetGroups
--- PASS: TestAccAWSAutoScalingGroup_ALB_TargetGroups (157.16s)
=== RUN   TestAccAWSAutoScalingGroup_initialLifecycleHook
--- PASS: TestAccAWSAutoScalingGroup_initialLifecycleHook (254.66s)
PASS
ok      github.com/hashicorp/terraform/builtin/providers/aws    2270.971s

Thanks for all the work here

Paul

@stack72 stack72 merged commit 2410294 into hashicorp:master Sep 3, 2016
@pcarrier pcarrier deleted the pcarrier/aws_autoscaling_group_can_have_initial_lifecycle_hooks branch September 4, 2016 01:24
@ghost
Copy link

ghost commented Apr 22, 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 have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@ghost ghost locked and limited conversation to collaborators Apr 22, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

aws_autoscaling_group cannot be created with lifecycle hooks in place for its instances
6 participants