Skip to content

Cannot change role for grafana_cloud_stack_service_account resource #2183

Closed
@andrei-don

Description

@andrei-don

Terraform Version

1.9.8

Terraform Grafana Provider Version

3.25.0

Grafana Version

No response

Affected Resource(s)

grafana_cloud_stack_service_account

Terraform Configuration Files

resource "grafana_cloud_stack_service_account" "stack_sa" {
  provider = grafana.cloud

  stack_slug  = grafana_cloud_stack.stack.slug
  name        = "${grafana_cloud_stack.stack.slug}-sa"
  role        = "Editor"
  is_disabled = false
}

Expected Behavior

Changing the role from "Editor" to "Admin" should have been reflected in the service account.

Actual Behavior

The apply fails with:

Error: status: 500, body: {"error":"Server Error","message":"Internal Server Error - Please try again. If the issue persists please open a support ticket that notes the time in UTC."}

Steps to Reproduce

Change the role in the grafana_cloud_stack_service_account resource and run terraform apply.

Important Factoids

No response

References

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions