GCP provider and etags

Hi everyone,

I’m facing a subtle but annoying behaviour every time i run a terraform plan.
It keeps modifying etag argument

  ~ resource "google_project_iam_member" "my_iam_member" {
      ~ etag    = "BwXE3hebQlI=" -> "BwXFhX/Yo1g="

this argument is not supported in the doc as it can be seen here:

https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/google_project_iam#argument-reference

but is exported:

etag - (Computed) The etag of the project’s IAM policy.

Any ideas about how to solve it?

> terraform version
Terraform v1.0.1
on darwin_arm64
                                                                                                                                                         

terraform {
  required_version = "1.0.1"
  required_providers {
    google = {
      source  = "hashicorp/google"
      version = "3.74.0"
    }

Thanks in advance

2 Likes

Same here
image

I have been seeing this with multiple providers for a bit now. Makes Atlantis much harder to use with all of the spurious output.

I’m seeing this as well, though I used to use the same resource without this problem happening so consistently.