{"id":28067,"library":"pulumi-pagerduty","title":"Pulumi PagerDuty Provider","description":"A Pulumi package for creating and managing PagerDuty cloud resources. Current version 4.31.4, with weekly releases tracking the upstream Terraform provider.","status":"active","version":"4.31.4","language":"python","source_language":"en","source_url":"https://github.com/pulumi/pulumi-pagerduty","tags":["pulumi","pagerduty","infrastructure-as-code","cloud","devops"],"install":[{"cmd":"pip install pulumi-pagerduty","lang":"bash","label":"Install via pip"}],"dependencies":[{"reason":"Core Pulumi SDK required for resource management","package":"pulumi","optional":true}],"imports":[{"note":"The correct import is from pulumi_pagerduty, not the raw pagerduty package","wrong":"import pagerduty","symbol":"pagerduty","correct":"import pulumi_pagerduty as pagerduty"}],"quickstart":{"code":"import pulumi\nimport pulumi_pagerduty as pagerduty\n\n# Configure PagerDuty provider with API token from environment\npagerduty_provider = pagerduty.Provider(\n    \"pagerduty-provider\",\n    token=pulumi.Config().require_secret(\"pagerduty:token\"),\n)\n\n# Create a PagerDuty team\nteam = pagerduty.Team(\n    \"my-team\",\n    name=\"My Team\",\n    description=\"Team managed by Pulumi\",\n    opts=pulumi.ResourceOptions(provider=pagerduty_provider),\n)\n\npulumi.export(\"team_id\", team.id)\n","lang":"python","description":"Create a PagerDuty team using Pulumi."},"warnings":[{"fix":"Set PAGERDUTY_TOKEN environment variable or use pulumi config set pagerduty:token --secret","message":"API token must be provided via config or environment variable; using plain text in code is insecure.","severity":"gotcha","affected_versions":"all"},{"fix":"Review the upgrade guide at https://www.pulumi.com/registry/packages/pagerduty/installation-configuration/","message":"Upgrading from v3 to v4 may require changes due to upstream Terraform provider schema changes.","severity":"breaking","affected_versions":">=4.0.0"},{"fix":"Use the 'description' field instead of deprecated 'num_loops' if applicable.","message":"Some resources like pagerduty.EscalationPolicy have deprecated fields (e.g., num_loops).","severity":"deprecated","affected_versions":">=4.0.0"}],"env_vars":null,"last_verified":"2026-05-09T00:00:00.000Z","next_check":"2026-08-07T00:00:00.000Z","problems":[{"fix":"Use `import pulumi_pagerduty as pagerduty`","cause":"Using wrong import path: `import pagerduty` instead of `import pulumi_pagerduty`.","error":"ImportError: No module named 'pagerduty'"},{"fix":"Set PAGERDUTY_TOKEN environment variable or run `pulumi config set pagerduty:token <token> --secret`","cause":"PagerDuty API token not provided via config or environment variable.","error":"pulumi.ConfigError: Missing required configuration key 'pagerduty:token'"},{"fix":"Generate a new API token from PagerDuty console and update configuration.","cause":"PagerDuty API token is invalid or expired.","error":"pulumi.errors.ResourceError: Error reading resource: unexpected EOF"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}