{"id":24274,"library":"pulumiverse-time","title":"Pulumi Time","description":"A Pulumi package for creating and managing Time resources (e.g., static time offsets, sleep timers). Wraps Terraform's time provider. Current version: 0.1.1. Low release cadence, community-maintained via pulumiverse.","status":"active","version":"0.1.1","language":"python","source_language":"en","source_url":"https://github.com/pulumiverse/pulumi-time","tags":["pulumi","time","terraform-provider","pulumiverse"],"install":[{"cmd":"pip install pulumiverse-time","lang":"bash","label":"PyPI via pip"}],"dependencies":[{"reason":"Required for resource registration and deployment.","package":"pulumi","optional":false}],"imports":[{"note":"Incorrect module name: PyPI package uses hyphen, but Python import uses underscore.","wrong":"from pulumi_time import *","symbol":"time","correct":"import pulumiverse_time as time"},{"note":"Providers not imported directly; use top-level module.","wrong":"from pulumi_time.provider import StaticTime","symbol":"StaticTime","correct":"from pulumiverse_time import StaticTime"},{"note":"Wrong package name leads to ModuleNotFoundError.","wrong":"from pulumi_time import Sleep","symbol":"Sleep","correct":"from pulumiverse_time import Sleep"}],"quickstart":{"code":"import pulumi\nimport pulumiverse_time as time\n\nexample_static = time.StaticTime(\n    \"example\",\n    rfc3339=\"2023-01-01T00:00:00Z\",\n    triggers=[\"first trigger\"],\n)\n\npulumi.export(\"example_output\", example_static.rfc3339)","lang":"python","description":"Creates a static time resource and exports its RFC3339 value."},"warnings":[{"fix":"Use 'import pulumiverse_time as time'.","message":"Import path: 'pip install pulumiverse-time' but import uses 'pulumiverse_time' (underscores).","severity":"gotcha","affected_versions":">=0.0.1"},{"fix":"No fix needed; new resource available.","message":"Version 0.0.16 introduced the Sleep resource. Older code using only StaticTime remains compatible.","severity":"breaking","affected_versions":">=0.0.16"},{"fix":"Use unique logical names or add suffixes.","message":"Resource names inside Pulumi must be unique per stack; duplicate names cause errors.","severity":"gotcha","affected_versions":">=0.0.1"},{"fix":"Provide at least one trigger string if you want updates to be applied.","message":"The 'triggers' argument is a list of strings used for force-recreation. Omitting it may cause no-op updates.","severity":"gotcha","affected_versions":">=0.0.1"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"pip uninstall pulumi-time && pip install pulumiverse-time; then use 'import pulumiverse_time'.","cause":"Wrong import name: PyPI package is 'pulumiverse-time', not 'pulumi-time'.","error":"ModuleNotFoundError: No module named 'pulumi_time'"},{"fix":"Upgrade to latest: pip install --upgrade pulumiverse-time.","cause":"Version too old (pre-0.0.16) or corrupted installation.","error":"ImportError: cannot import name 'StaticTime' from 'pulumiverse_time'"},{"fix":"Use unique names, e.g., 'time_static_1', 'time_static_2'.","cause":"Same logical name used twice in the same stack.","error":"pulumi.errors.ResourceConflictError: Duplicate resource URN"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}