Registry / devops / pulumiverse-time

pulumiverse-time

JSON →
library0.1.1pypypi✓ verified 86d ago

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.

pip install pulumiverse-time
INSTALL
IMPORT
SIG · PULUMIVERSE-TIME
P
pulumiverse-time
devopspythonv0.1.1
Install
7.1s avg
Import
Disk
79MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
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
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 87.7MB
glibc
py 3.103.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)
Debug
Known issues
gotchaImport path: 'pip install pulumiverse-time' but import uses 'pulumiverse_time' (underscores).
fix
Use 'import pulumiverse_time as time'.
affects: >=0.0.1
breakingVersion 0.0.16 introduced the Sleep resource. Older code using only StaticTime remains compatible.
fix
No fix needed; new resource available.
affects: >=0.0.16
gotchaResource names inside Pulumi must be unique per stack; duplicate names cause errors.
fix
Use unique logical names or add suffixes.
affects: >=0.0.1
gotchaThe 'triggers' argument is a list of strings used for force-recreation. Omitting it may cause no-op updates.
fix
Provide at least one trigger string if you want updates to be applied.
affects: >=0.0.1
Errors
Common errors & fixes
ModuleNotFoundError: No module named 'pulumi_time'
Wrong import name: PyPI package is 'pulumiverse-time', not 'pulumi-time'.
fix
pip 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.
fix
Upgrade to latest: pip install --upgrade pulumiverse-time.
pulumi.errors.ResourceConflictError: Duplicate resource URN
Same logical name used twice in the same stack.
fix
Use 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.
Agent activity
7 hits · last 30 days
node
6
Resources
pulumiverse-time — pip install pulumiverse-time · libregistry