Hi, For EMR `Cluster` class in pulumi-aws v4.28.0,...
# general
s
Hi, For EMR
Cluster
class in pulumi-aws v4.28.0, when trying to add
Copy code
auto_termination_policy=aws.emr.ClusterAutoTerminationPolicyArgs(
    idle_timeout=300,
)
I get the following error - AttributeError: module 'pulumi_aws.emr' has no attribute 'ClusterAutoTerminationPolicyArgs' error: an unhandled error occurred: Program exited with non-zero exit code: 1 Is this the right way to use this? I am using pulumi v.3.17.1
b
Hi @sticky-country-73582 I believe it would need to be:
Copy code
auto_termination_policy=aws.emr.ClusterAutoTerminationPolicyArgs{
    idle_timeout=300,
}
as it's a class not a func