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

[New Resource]: aws_lb_target_registration #32380

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/labeler-pr-triage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -425,6 +425,7 @@ service/elbv2:
- 'website/**/lb_listener*'
- 'website/**/lb_target_group*'
- 'website/**/lb_hosted*'
- 'website/**/lb_target_registration*'
service/emr:
- 'internal/service/emr/**/*'
- 'website/**/emr_*'
Expand Down
9 changes: 9 additions & 0 deletions internal/service/elbv2/exports_test.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package elbv2

// Exports for use in tests only.
var (
ResourceTargetRegistration = newResourceTargetRegistration
)
7 changes: 6 additions & 1 deletion internal/service/elbv2/service_package_gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions internal/service/elbv2/target_group_attachment.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ func ResourceTargetGroupAttachment() *schema.Resource {
ReadWithoutTimeout: resourceAttachmentRead,
DeleteWithoutTimeout: resourceAttachmentDelete,

DeprecationMessage: "Use the aws_lb_target_registration resource instead.",

Schema: map[string]*schema.Schema{
"target_group_arn": {
Type: schema.TypeString,
Expand Down
Loading