Skip to content

[Bug] Some account level accesses are not configurable in temporalcloud_group_access #404

Description

@taonic

What are you really trying to do?

Template:

resource "temporalcloud_group_access" "my_group_access" {
  id             = temporalcloud_scim_group.my_scim_group.id
  account_access = "financeadmin"
}

Output:

│ Error: Invalid Attribute Value Match
│
│   with temporalcloud_group_access.a_temporal_finance_all["A_TEMPORAL_FINANCE_ALL"],
│   on main.tf line 38, in resource "temporalcloud_group_access" "a_temporal_finance_all":
│   38:   account_access = each.value.level
│
│ Attribute account_access value must be one of: ["owner" "admin" "developer" "read" "none"], got: "financeadmin"

Describe the bug

metricread access is also missing besides financeadmin.

Shall we consolidate the account_access across all resources, i.e. service_account, user and temporalcloud_group_access. Perhaps we can reference the same enums.AllowedAccountAccessRoles

Environment/Versions

1.2.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions