@@ -72,7 +72,6 @@ resource "github_organization_ruleset" "test" {
7272 }
7373
7474 bypass_actors {
75- actor_id = 1
7675 actor_type = "OrganizationAdmin"
7776 bypass_mode = "always"
7877 }
@@ -167,7 +166,6 @@ resource "github_organization_ruleset" "test" {
167166 resource .TestCheckResourceAttr ("github_organization_ruleset.test" , "bypass_actors.1.actor_id" , "5" ),
168167 resource .TestCheckResourceAttr ("github_organization_ruleset.test" , "bypass_actors.1.actor_type" , "RepositoryRole" ),
169168 resource .TestCheckResourceAttr ("github_organization_ruleset.test" , "bypass_actors.1.bypass_mode" , "always" ),
170- resource .TestCheckResourceAttr ("github_organization_ruleset.test" , "bypass_actors.2.actor_id" , "1" ),
171169 resource .TestCheckResourceAttr ("github_organization_ruleset.test" , "bypass_actors.2.actor_type" , "OrganizationAdmin" ),
172170 resource .TestCheckResourceAttr ("github_organization_ruleset.test" , "bypass_actors.2.bypass_mode" , "always" ),
173171 resource .TestCheckResourceAttr ("github_organization_ruleset.test" , "rules.0.pull_request.0.allowed_merge_methods.#" , "3" ),
@@ -596,7 +594,6 @@ resource "github_organization_ruleset" "test" {
596594 }
597595
598596 bypass_actors {
599- actor_id = 1
600597 actor_type = "OrganizationAdmin"
601598 bypass_mode = "always"
602599 }
@@ -640,7 +637,6 @@ resource "github_organization_ruleset" "test" {
640637 resource .TestCheckResourceAttr ("github_organization_ruleset.test" , "bypass_actors.1.actor_id" , "5" ),
641638 resource .TestCheckResourceAttr ("github_organization_ruleset.test" , "bypass_actors.1.actor_type" , "RepositoryRole" ),
642639 resource .TestCheckResourceAttr ("github_organization_ruleset.test" , "bypass_actors.1.bypass_mode" , "always" ),
643- resource .TestCheckResourceAttr ("github_organization_ruleset.test" , "bypass_actors.2.actor_id" , "1" ),
644640 resource .TestCheckResourceAttr ("github_organization_ruleset.test" , "bypass_actors.2.actor_type" , "OrganizationAdmin" ),
645641 resource .TestCheckResourceAttr ("github_organization_ruleset.test" , "bypass_actors.2.bypass_mode" , "always" ),
646642 resource .TestCheckResourceAttr ("github_organization_ruleset.test" , "rules.0.file_path_restriction.0.restricted_file_paths.0" , "test.txt" ),
@@ -723,7 +719,6 @@ resource "github_organization_ruleset" "test" {
723719 }
724720
725721 bypass_actors {
726- actor_id = 1
727722 actor_type = "OrganizationAdmin"
728723 bypass_mode = "always"
729724 }
@@ -803,7 +798,6 @@ resource "github_organization_ruleset" "test" {
803798 enforcement = "active"
804799
805800 bypass_actors {
806- actor_id = 1
807801 actor_type = "OrganizationAdmin"
808802 bypass_mode = "%s"
809803 }
0 commit comments