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

Drift IAM permissions #359

Open
kimllee opened this issue Oct 17, 2024 · 0 comments
Open

Drift IAM permissions #359

kimllee opened this issue Oct 17, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@kimllee
Copy link

kimllee commented Oct 17, 2024

TL;DR

Hello,

I have a gcp bucket created using the module version 6.1. A colleague has added a service account through the permissions tab on the bucket but when i launch a terraform plan it doesn't detect the modification.

I guess there's something regarding the IAM resource included in the module.

What's happening please ?

Thanks.

Terraform : 1.8
Bucket module : 6.1

Expected behavior

No response

Observed behavior

No response

Terraform Configuration

module "xxxxxxxx" {
  source                   = "terraform-google-modules/cloud-storage/google"
  names                    = ["xxxxxxx"]
  version                  = ">= 6.1.0"
  project_id               = var.project_name
  location                 = var.region
  public_access_prevention = "inherited"
  set_viewer_roles         = true
  set_admin_roles          = true
  admins                   = ["group:[email protected]", "group:[email protected]"]
  bucket_viewers = {
    role   = "roles/storage.objectViewer"
    member = "[email protected]"
  }
  bucket_policy_only = {
    "xxxxxx" = false
  }
}

Terraform Version

1.8

Additional information

No response

@kimllee kimllee added the bug Something isn't working label Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant