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

resource_compute_(region)_instance_group_manager does have a documentation issue wrt. status.stateful message #17572

Closed
askubis opened this issue Mar 13, 2024 · 4 comments · Fixed by GoogleCloudPlatform/magic-modules#10188, hashicorp/terraform-provider-google-beta#7104 or #17595
Assignees
Labels
bug forward/review In review; remove label to forward

Comments

@askubis
Copy link

askubis commented Mar 13, 2024

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request.
  • Please do not leave +1 or me too comments, they generate extra noise for issue followers and do not help prioritize the request.
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment.
  • If an issue is assigned to a user, that user is claiming responsibility for the issue.
  • Customers working with a Google Technical Account Manager or Customer Engineer can ask them to reach out internally to expedite investigation and resolution of this issue.

Terraform Version

Terraform v1.7.1

Affected Resource(s)

compute_instance_group_manager
compute_region_instance_group_manager

Terraform Configuration

resource "google_compute_instance_group_manager" "default" {

  name               = "example-group"
  base_instance_name = "test"
  target_size        = 3
  zone               = "us-central1-f"

  version {
    instance_template = google_compute_instance_template.default.id
    name              = "primary"
  }
}

Debug Output

No response

Expected Behavior

tfstate should contain the status.stateful field

Actual Behavior

tfstate should contain the status.version.stateful field

Steps to reproduce

  1. terraform apply

Important Factoids

The documentation (https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/compute_instance_group_manager#version_target) is not consistent with the API (https://www.googleapis.com/discovery/v1/apis/compute/v1/rest) for no apparent reason (so in fact to fix it the documentation should be fixed)

References

No response

@askubis askubis added the bug label Mar 13, 2024
@askubis
Copy link
Author

askubis commented Mar 13, 2024

I would like to fix it.

@ggtisc
Copy link
Collaborator

ggtisc commented Mar 14, 2024

@askubis it This seems more like a documentation issue than a bug. Please confirm us if you are having an error message.

About the status.version.stateful it isn't in the provided code. Could you please provide the complete code and what is the exact field that is presenting a bug?

@askubis
Copy link
Author

askubis commented Mar 15, 2024

@ggtisc yes, this was more of a documentation issue.

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 Apr 15, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.