https://pulumi.com logo
Title
l

little-cartoon-10569

08/11/2022, 10:58 PM
Would anyone know which library creates this error message? I know the restriction is at the AWS API, but I can't find the source code for the message anywhere.
error: could not make instance of 'aws:elasticache/replicationGroup:ReplicationGroup': name 'really-long-name-that-causes-this-error-' plus 7 random chars is longer than maximum length 40
Wondering if it comes from Pulumi core, Pulumi AWS, code generated from the TF schema, or something else...
found it with cs.github.com (which is awesome btw 🙂 )
👍 1
l

little-cartoon-10569

08/11/2022, 11:25 PM
Thanks!
pulumi-terraform-bridge is the tool that compiles the TF schema to Pulumi SDK code, is that right?
And maxLen (40, in this case) is determined from the TF schema. Awesome. That's all 5 whys answered 🙂