Skip to content

Commit

Permalink
Migrate resource automation actions runner
Browse files Browse the repository at this point in the history
  • Loading branch information
cjgajard committed Jul 12, 2024
1 parent d710b92 commit edfb8c9
Show file tree
Hide file tree
Showing 6 changed files with 329 additions and 232 deletions.
1 change: 0 additions & 1 deletion pagerduty/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,6 @@ func Provider(isMux bool) *schema.Provider {
"pagerduty_event_orchestration_service": resourcePagerDutyEventOrchestrationPathService(),
"pagerduty_event_orchestration_global_cache_variable": resourcePagerDutyEventOrchestrationGlobalCacheVariable(),
"pagerduty_event_orchestration_service_cache_variable": resourcePagerDutyEventOrchestrationServiceCacheVariable(),
"pagerduty_automation_actions_runner": resourcePagerDutyAutomationActionsRunner(),
"pagerduty_incident_workflow": resourcePagerDutyIncidentWorkflow(),
"pagerduty_incident_workflow_trigger": resourcePagerDutyIncidentWorkflowTrigger(),
"pagerduty_incident_custom_field": resourcePagerDutyIncidentCustomField(),
Expand Down
221 changes: 0 additions & 221 deletions pagerduty/resource_pagerduty_automation_actions_runner.go

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ func TestAccPagerDutyAutomationActionsRunner_import(t *testing.T) {
runnerName := fmt.Sprintf("tf-%s", acctest.RandString(5))

resource.Test(t, resource.TestCase{
PreCheck: func() { testAccPreCheck(t) },
Providers: testAccProviders,
CheckDestroy: testAccCheckPagerDutyAutomationActionsRunnerDestroy,
PreCheck: func() { testAccPreCheck(t) },
ProtoV5ProviderFactories: testAccProtoV5ProviderFactories(),
CheckDestroy: testAccCheckPagerDutyAutomationActionsRunnerDestroy,
Steps: []resource.TestStep{
{
Config: testAccCheckPagerDutyAutomationActionsRunnerConfig(runnerName),
Expand Down
1 change: 1 addition & 0 deletions pagerdutyplugin/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ func (p *Provider) Resources(_ context.Context) [](func() resource.Resource) {
func() resource.Resource { return &resourceAutomationActionsActionTeamAssociation{} },
func() resource.Resource { return &resourceAutomationActionsAction{} },
func() resource.Resource { return &resourceAutomationActionsRunnerTeamAssociation{} },
func() resource.Resource { return &resourceAutomationActionsRunner{} },
func() resource.Resource { return &resourceBusinessService{} },
func() resource.Resource { return &resourceExtensionServiceNow{} },
func() resource.Resource { return &resourceExtension{} },
Expand Down
Loading

0 comments on commit edfb8c9

Please sign in to comment.