Skip to content

Conversation

x0atsopze
Copy link

│ Error: Duplicate resource "aws_lb_target_group_attachment" configuration

│ on alb.tf line 27:
│ 27: resource "aws_lb_target_group_attachment" "attachment" {

│ A aws_lb_target_group_attachment resource named "attachment" was already declared at alb.tf:17,1-55. Resource names must be unique per type in each module.

Terraform plan retruned above error. Updated second attachment from <<resource "aws_lb_target_group_attachment" "attachment">> to <<resource "aws_lb_target_group_attachment" "attachment1">>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant