-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Autoscaling signal has empty condition #15033
Autoscaling signal has empty condition #15033
Comments
@sigismund have you tried adding filter in your config? |
@edwardmedia By adding basic filter ( |
@sigismund I think you need to provide settings for |
@edwardmedia Sorry, I think there was a misunderstanding. In our configuration, we are not using a filter. I was simply testing if adding a filter could bypass the error. If you check the Terraform sample that I provided in the original description, you can see the configuration without a filter. Also, according to the documentation , the filter is an optional parameter for the google_compute_autoscaler resource. Therefore, the original configuration that I posted should not cause any issues. |
I see what you mean. @sigismund. From its api doc, it seems the api would have provided the default for
|
@zli82016 is there an upgrade guide for this? |
Yeah, the guide is merged to the main branch. GoogleCloudPlatform/magic-modules#8648 |
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. |
TL;DR
When using the following autoscaling signal, an empty condition is created, which causes a UI error
This item contains one or more errors
Expected behavior
Expected Metrics signal to look like this:
Observed behavior
Instead, there is an empty condition that is causing a UI issue.
Terraform Configuration
Terraform Version
Terraform: v1.5.1
Google Provider: 4.50.0 & 4.64.0 (tested with 2 different versions)
Additional information
Terraform might be accounting for the aggregator field and adding the extra = that is causing the issue. If i click edit from the UI and turn on and off the aggregator the extra condition is removed and the issue is fixed.
The text was updated successfully, but these errors were encountered: