Skip to content

Commit

Permalink
Add resource pagerduty service dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
cjgajard committed Mar 1, 2024
1 parent 7887dad commit 421ba33
Show file tree
Hide file tree
Showing 39 changed files with 2,435 additions and 402 deletions.
1 change: 0 additions & 1 deletion pagerduty/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,6 @@ func Provider(isMux bool) *schema.Provider {
"pagerduty_ruleset": resourcePagerDutyRuleset(),
"pagerduty_ruleset_rule": resourcePagerDutyRulesetRule(),
"pagerduty_business_service": resourcePagerDutyBusinessService(),
"pagerduty_service_dependency": resourcePagerDutyServiceDependency(),
"pagerduty_response_play": resourcePagerDutyResponsePlay(),
"pagerduty_tag": resourcePagerDutyTag(),
"pagerduty_tag_assignment": resourcePagerDutyTagAssignment(),
Expand Down
371 changes: 0 additions & 371 deletions pagerduty/resource_pagerduty_service_dependency.go

This file was deleted.

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

resource.Test(t, resource.TestCase{
PreCheck: func() { testAccPreCheck(t) },
Providers: testAccProviders,
CheckDestroy: testAccCheckPagerDutyBusinessServiceDependencyDestroy,
PreCheck: func() { testAccPreCheck(t) },
ProtoV5ProviderFactories: testAccProtoV5ProviderFactories(),
CheckDestroy: testAccCheckPagerDutyBusinessServiceDependencyDestroy,
Steps: []resource.TestStep{
{
Config: testAccCheckPagerDutyBusinessServiceDependencyConfig(service, businessService, username, email, escalationPolicy),
Expand Down
Loading

0 comments on commit 421ba33

Please sign in to comment.