-
Notifications
You must be signed in to change notification settings - Fork 9.6k
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
Tags for ALB target group resources doesn't work, updating priorities doesn't work #8847
Comments
Tags work as expected for |
I am also seeing in 0.7.4 that updating the "name" attribute of an |
Good catch! Thanks for the follow up - I'm glad this is getting some traction. This has been my workaround thus far: I added an entry in |
Hi @tomgoren so i've lost track of what the issue here is - is it to do with tags or to do with priorities? Thanks Paul |
@stack72 sorry about that! When I originally filed this issue - both were buggy, i.e. the tags weren't being updated and nor was the priority of the listener rule in question. I'm going to do some testing with 0.7.7 today to verify that this is still pertinent (I suspect it is as I haven't seen anything in the Changelog referencing the ALB resources). |
Indeed - tags still aren't set. In the interim I wrote a script and called it with Verified that priorities aren't set as expected either. BTW the output from |
Still getting:
This is despite the fact that the tags are already set manually, and match the interpolated value. This just appears every single run of |
@tomgoren just a FYI, I am working on this right now |
Fixes: #8847 We actually didn't get the list of tags from the API, therefore, any manual changes were not actually showing up in subsequent plans ``` % make testacc TEST=./builtin/providers/aws TESTARGS='-run=TestAccAWSALBTargetGroup_basic' ==> Checking that code complies with gofmt requirements... go generate $(go list ./... | grep -v /terraform/vendor/) 2017/03/30 15:45:53 Generated command/internal_plugin_list.go TF_ACC=1 go test ./builtin/providers/aws -v -run=TestAccAWSALBTargetGroup_basic -timeout 120m === RUN TestAccAWSALBTargetGroup_basic --- PASS: TestAccAWSALBTargetGroup_basic (62.76s) PASS ok github.com/hashicorp/terraform/builtin/providers/aws 62.787s ```
Awesome, thanks @stack72!!! |
Fixes: #8847 We actually didn't get the list of tags from the API, therefore, any manual changes were not actually showing up in subsequent plans ``` % make testacc TEST=./builtin/providers/aws TESTARGS='-run=TestAccAWSALBTargetGroup_basic' ==> Checking that code complies with gofmt requirements... go generate $(go list ./... | grep -v /terraform/vendor/) 2017/03/30 15:45:53 Generated command/internal_plugin_list.go TF_ACC=1 go test ./builtin/providers/aws -v -run=TestAccAWSALBTargetGroup_basic -timeout 120m === RUN TestAccAWSALBTargetGroup_basic --- PASS: TestAccAWSALBTargetGroup_basic (62.76s) PASS ok github.com/hashicorp/terraform/builtin/providers/aws 62.787s ```
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. |
Greetings! I am running into a couple of issues with the new ALB resources.
Terraform Version
Affected Resource(s)
Terraform Configuration Files
Expected Behavior
Priority should have been updated in AWS when changing value in config file.
terraform plan
indicates that tags will be updated, and that priority will be changed.Actual Behavior
None of the above.
In order to change the priorities, the ALB had to be recreated (i.e. manually deleted and then run
terraform apply
).Tags are not applied to the target group resource at all.
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
aws_alb_target_group
resource with tagsterraform apply
OR
terraform apply
Apologies if missing critical information - this is my first time opening a ticket.
Thanks!
The text was updated successfully, but these errors were encountered: