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

provider/aws: Add support for LB target group to ECS service #8190

Merged
merged 1 commit into from Aug 23, 2016

Conversation

radeksimko
Copy link
Member

@radeksimko radeksimko commented Aug 15, 2016

This is WIP until we have ALB resource(s) in place.

TODO

  • Add acceptance test for ECS service with ALB
  • Add example to /examples with ECS service & ALB - may require some digging into IAM
  • Document new field

ALB itself is tracked under #8137

@radeksimko
Copy link
Member Author

Currently blocked by #8268 as ECS service pointing to an ALB target group requires such target group to have an associated ELB listener, else creation returns

InvalidParameterException: The target group with targetGroupArn arn:aws:elasticloadbalancing:us-west-2:187636751137:targetgroup/ghost-test/7b38605396a52b59 does not have an associated load balancer.
        status code: 400, request id: 627f36ce-53bf-11e6-a4f6-bbc69af22fe8

@radeksimko radeksimko force-pushed the f-aws-ecs-svc-target-group branch 2 times, most recently from 303a41e to f08d2e6 Compare August 18, 2016 22:15
@radeksimko radeksimko changed the title [WIP] provider/aws: Add support for LB target group to ECS service provider/aws: Add support for LB target group to ECS service Aug 18, 2016
@radeksimko radeksimko force-pushed the f-aws-ecs-svc-target-group branch 2 times, most recently from 3a11311 to 11297cc Compare August 18, 2016 22:20
@catsby
Copy link
Member

catsby commented Aug 23, 2016

This looks delightfully complete, thanks!
Tests passing, I'm going to go ahead and merge this!

TF_ACC=1 go test ./builtin/providers/aws -v -run=TestAccAWSEcsService -timeout 120m
=== RUN   TestAccAWSEcsServiceWithARN
--- PASS: TestAccAWSEcsServiceWithARN (118.79s)
=== RUN   TestAccAWSEcsServiceWithFamilyAndRevision
--- PASS: TestAccAWSEcsServiceWithFamilyAndRevision (109.62s)
=== RUN   TestAccAWSEcsServiceWithRenamedCluster
--- PASS: TestAccAWSEcsServiceWithRenamedCluster (118.21s)
=== RUN   TestAccAWSEcsService_withIamRole
--- PASS: TestAccAWSEcsService_withIamRole (124.16s)
=== RUN   TestAccAWSEcsService_withDeploymentValues
--- PASS: TestAccAWSEcsService_withDeploymentValues (102.33s)
=== RUN   TestAccAWSEcsService_withLbChanges
--- PASS: TestAccAWSEcsService_withLbChanges (232.95s)
=== RUN   TestAccAWSEcsService_withEcsClusterName
--- PASS: TestAccAWSEcsService_withEcsClusterName (102.08s)
=== RUN   TestAccAWSEcsService_withAlb
--- PASS: TestAccAWSEcsService_withAlb (129.15s)
PASS
ok      github.com/hashicorp/terraform/builtin/providers/aws    1037.321s
Test:

@catsby catsby merged commit 070942d into hashicorp:master Aug 23, 2016
@radeksimko radeksimko deleted the f-aws-ecs-svc-target-group branch August 23, 2016 16:23
c4milo added a commit to hooklift/terraform that referenced this pull request Aug 23, 2016
* master: (100 commits)
  Update CHANGELOG.md
  providers/aws: Check error from resourceAwsRoute53RecordBuildSet and return err if set (hashicorp#8399)
  Update CHANGELOG.md
  provider/aws: Add support for ECS svc - LB target group (hashicorp#8190)
  Added example of how the Option settings works (hashicorp#8413)
  Update CHANGELOG.md
  Update CHANGELOG.md
  Update CHANGELOG.md
  provider/aws: Add support for `network_mode` to `aws_ecs_task_definition` (hashicorp#8391)
  Update CHANGELOG.md
  Update CHANGELOG.md
  provider/aws: Add Primary Endpoint Address output for (hashicorp#8385)
  Update CHANGELOG.md
  provider/aws: `aws_elasticache_replication_group_id` validation change (hashicorp#8381)
  provider/google: Remove redundant type declaration
  provider/google: Hook in state migration function
  provider/openstack: docs and tests for allowed_address_pairs
  Update CHANGELOG.md
  website: Docs for AWS API Gateway domain name and base path mapping
  provider/aws: aws_api_gateway_base_path_mapping resource implementation
  ...
apparentlymart pushed a commit to hashicorp/terraform-provider-aws that referenced this pull request Jul 7, 2017
@ghost
Copy link

ghost commented Apr 23, 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.

@hashicorp hashicorp locked and limited conversation to collaborators Apr 23, 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.

None yet

2 participants