Install & Compatibility
Where this runs
tested against v0.1.1 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
muslpy 3.10–3.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 87.7MB
glibcpy 3.10–3.95 runs
installs and imports cleanly · install 7.1s · import 0.000s · 73MB
79MB installed
● package 79MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
time
✓ import pulumiverse_time as time
✗ from pulumi_time import *
Incorrect module name: PyPI package uses hyphen, but Python import uses underscore.
StaticTime
✓ from pulumiverse_time import StaticTime
✗ from pulumi_time.provider import StaticTime
Providers not imported directly; use top-level module.
Sleep
✓ from pulumiverse_time import Sleep
✗ from pulumi_time import Sleep
Wrong package name leads to ModuleNotFoundError.
Creates a static time resource and exports its RFC3339 value.
import pulumi
import pulumiverse_time as time
example_static = time.StaticTime(
"example",
rfc3339="2023-01-01T00:00:00Z",
triggers=["first trigger"],
)
pulumi.export("example_output", example_static.rfc3339)
Errors
Common errors & fixes
ModuleNotFoundError: No module named 'pulumi_time'
Wrong import name: PyPI package is 'pulumiverse-time', not 'pulumi-time'.
fixpip uninstall pulumi-time && pip install pulumiverse-time; then use 'import pulumiverse_time'.
ImportError: cannot import name 'StaticTime' from 'pulumiverse_time'
Version too old (pre-0.0.16) or corrupted installation.
fixUpgrade to latest: pip install --upgrade pulumiverse-time.
pulumi.errors.ResourceConflictError: Duplicate resource URN
Same logical name used twice in the same stack.
fixUse unique names, e.g., 'time_static_1', 'time_static_2'.
Upgrade
Version history
0.1.1latest on PyPI · released Dec 29, 2024
Audit
Dependencies
pulumirequiredRequired for resource registration and deployment.