Skip to content

time.Rotating doesn't rotate in the TypeScript implementation #70

@thecjharries

Description

@thecjharries

As far as I can tell, the underlying Terraform provider does rotate. However, the Pulumi resource does not. Here is a full repo with the issue: repo link. Alternatively, (almost) directly from the docs,

import * as pulumi from "@pulumi/pulumi";
import * as time from "@pulumiverse/time";

const example = new time.Rotating("example", {rotationMinutes: 30});
pulumi import time:index/rotating:Rotating example 2025-05-12T19:51:58Z,2025-05-12T19:51:58Z

Here are my details when running my simple PoC:

Current stack is dev:
    Managed by ---
    Last updated: 59 minutes ago (2025-05-12 15:03:11.314061 -0500 CDT)
    Pulumi version used: v3.165.0
Current stack resources (3):
    TYPE                             NAME
    pulumi:pulumi:Stack              pulumi-time-issue-dev
    ├─ time:index/rotating:Rotating  example
    └─ pulumi:providers:time         default_0_1_1_github_/api.github.com/pulumiverse/pulumi-time

Metadata

Metadata

Assignees

Labels

questionFurther information is requested

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions