https://pulumi.com logo
#aws
Title
# aws
l

late-account-9966

12/12/2023, 12:07 AM
Hi. I'm using the following code:
Copy code
aws.cloudwatch.EventRule('ScheduledChangeRule',
            name=f'{self.cluster_name}-ScheduledChangeRule',
            description='AWS Health Event',
            event_pattern=json.dumps({
                "source": [
                    "aws.health"
                ],
                "detail-type": [
                    "AWS Health Event"
                ]
            }),
            is_enabled=True,
            opts=self.child_opts
        )
and pulumi preview says:
warning: urn:pulumi:dev::aws-infra:tree:platform:Resources$aws:cloudwatch/eventRule:EventRule::RebalanceRule verification warning: Use "state" instead
what does that mean?