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

[Bug]: aws_lb_target_group stickiness not reflected in plan diff #28083

Closed
nwalters512 opened this issue Nov 29, 2022 · 4 comments · Fixed by #35671
Closed

[Bug]: aws_lb_target_group stickiness not reflected in plan diff #28083

nwalters512 opened this issue Nov 29, 2022 · 4 comments · Fixed by #35671
Assignees
Labels
bug Addresses a defect in current functionality. prioritized Part of the maintainer teams immediate focus. To be addressed within the current quarter. service/elbv2 Issues and PRs that pertain to the elbv2 service.
Milestone

Comments

@nwalters512
Copy link

nwalters512 commented Nov 29, 2022

Terraform Core Version

1.3.5

AWS Provider Version

4.40.0

Affected Resource(s)

aws_lb_target_group

Expected Behavior

When I enable and configure target group stickiness outside of Terraform (for instance, via the AWS Console), I would expect that I would see a diff during terraform plan if my corresponding Terraform resource doesn't correctly include stickiness configuration.

Actual Behavior

terraform plan produces a clean diff.

Relevant Error/Panic Output Snippet

No response

Terraform Configuration Files

This snippet is taken straight from https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/lb_target_group:

resource "aws_lb_target_group" "test" {
  name     = "tf-example-lb-tg"
  port     = 80
  protocol = "HTTP"
  vpc_id   = aws_vpc.main.id
}

resource "aws_vpc" "main" {
  cidr_block = "10.0.0.0/16"
}

Steps to Reproduce

  1. Apply the above config to create the target group.
  2. In the AWS console, manually enable stickiness.
  3. Run terraform plan with the above; observe that no diff is created.

Debug Output

No response

Panic Output

No response

Important Factoids

No response

References

It's possible that this is related to #15144; the problem described there seems to be similar.

Would you like to implement a fix?

No response

@nwalters512 nwalters512 added bug Addresses a defect in current functionality. needs-triage Waiting for first response or review from a maintainer. labels Nov 29, 2022
@github-actions
Copy link

Community Note

Voting for Prioritization

  • Please vote on this issue by adding a 👍 reaction to the original post to help the community and maintainers prioritize this request.
  • Please see our prioritization guide for information on how we prioritize.
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.

Volunteering to Work on This Issue

  • If you are interested in working on this issue, please leave a comment.
  • If this would be your first contribution, please review the contribution guide.

@github-actions github-actions bot added service/elbv2 Issues and PRs that pertain to the elbv2 service. service/vpc Issues and PRs that pertain to the vpc service. labels Nov 29, 2022
@ewbankkit ewbankkit removed needs-triage Waiting for first response or review from a maintainer. service/vpc Issues and PRs that pertain to the vpc service. labels Nov 30, 2022
@gdavison
Copy link
Contributor

Related to #22526

@gdavison gdavison self-assigned this Jan 15, 2024
@terraform-aws-provider terraform-aws-provider bot added the prioritized Part of the maintainer teams immediate focus. To be addressed within the current quarter. label Jan 15, 2024
@github-actions github-actions bot added this to the v5.36.0 milestone Feb 7, 2024
@github-actions github-actions bot removed the bug Addresses a defect in current functionality. label Feb 8, 2024
Copy link

github-actions bot commented Feb 8, 2024

This functionality has been released in v5.36.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. Thank you!

@justinretzolk justinretzolk added the bug Addresses a defect in current functionality. label Feb 10, 2024
Copy link

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 12, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Addresses a defect in current functionality. prioritized Part of the maintainer teams immediate focus. To be addressed within the current quarter. service/elbv2 Issues and PRs that pertain to the elbv2 service.
Projects
None yet
4 participants