-
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
Ordering for scopes doesn't match input #5283
Comments
@jsoref Can you provide use cases why you think this is an issue? |
We're trying to migrate from existing templates. Being able to generate the exact format that our existing templates has would be nice. Or being able to predict the format (by having it match what we enter) would be nice. Even having it generate a sorted format would be nice. The fact that it does none of these things is just mind-boggling. Or simply put: The plan should match the results. |
@jsoref sorry for the behavior that causes your inconvenience. I doubt if these use cases are widely asked for and any related changes will be implemented soon. Before you see any changes in provider side, have you thought of applying |
@edwardmedia: As you can see, our input to terraform and the What kind of sort function would possibly result in the output yielded by |
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 feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks! |
Community Note
Terraform Version
Affected Resource(s)
(It affects other things as well, but I'm going to use it as an example)
Terraform Configuration Files
Debug Output
Expected Behavior
We have an existing instance template, when we run:
The output lists:
I expect to be able to reproduce that output using terraform.
Right now, the order produced by terraform appears to be fixed (as opposed to random per run, so, that's something, I guess).
There are two possible outcomes that I could imagine:
The outcome that actually happens, which is neither of these, is unexpected and unhelpful.
Actual Behavior
The plan output shows:
But, the new describe output shows:
Steps to Reproduce
terraform plan
terraform apply
gcloud compute instance-templates describe my-template
Important Factoids
The text was updated successfully, but these errors were encountered: