-
Notifications
You must be signed in to change notification settings - Fork 932
Open
Labels
Status: TriageThis is being looked at and prioritizedThis is being looked at and prioritizedType: FeatureNew feature or requestNew feature or request
Description
Describe the need
I want to configure rulesets in my org that's part of an enterprise such that the Enterprise Owner role can bypass them if needed. In the UI this is possible, and when I wrote a terraform resource to represent that ruleset and imported it, the bypass_actors block appears as follows:
- bypass_actors {
- actor_id = 0 -> null
- actor_type = "EnterpriseOwner" -> null
- bypass_mode = "always" -> null
}that output is from terraform plan trying to remove it - I wanted to see exactly how the values would appear to terraform to then create the matching config.
However this is not possible - the actor_type property doesn't support EnterpriseOwner:
Error: expected actor_type to be one of ["Integration" "OrganizationAdmin" "RepositoryRole" "Team" "DeployKey"], got EnterpriseOwner
Hopefully it's a simple enough fix to allow this extra value.
SDK Version
No response
API Version
No response
Relevant log output
Error: expected actor_type to be one of ["Integration" "OrganizationAdmin" "RepositoryRole" "Team" "DeployKey"], got EnterpriseOwnerCode of Conduct
- I agree to follow this project's Code of Conduct
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Status: TriageThis is being looked at and prioritizedThis is being looked at and prioritizedType: FeatureNew feature or requestNew feature or request