New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
name_prefix broken? #6155
Comments
In pulumi/pulumi-aws#143 (comment), it was claimed that this should no longer happen. cc @pgavlin. |
I've just encountered the exact same issue as described above. |
Same here, using the dotnet SDK for Pulumi 3.1.0, Pulumi.Aws 4.1.0. The Autoscaling.Group resource is breaking similarly for me using NamePrefix. |
Just a +1 with aws.autoscaling.Group in typescript SDK, Pulumi 3.4.0, AWS 4.7.0. |
same with |
I just tested this with import pulumi_aws as aws
import pulumi
lg = aws.cloudwatch.LogGroup('lg', name_prefix='pulumi-nameprefix-test')
pulumi.export('name', lg.name)
If this is still a problem for you, please reopen the issue. |
The resource parameter
name_prefix
seem broken. I noticed this with aws.LogGroup. Haven't tested with other resources.Actually this parameter is pretty pointless, since Pulumi does auto naming by default. Maybe just remove this parameter?
This is the code I use:
This issue may be related to pulumi/pulumi-terraform#210 where it was mentioned but also marked as resolved. Regression?
Expected Behavior
Pulumi creates the log group with a name starting with the specified prefix. Just like auto naming when name_prefix is omitted.
Current Behavior
Fails with:
Even though I have not specified the name parameter. Only resource_name and name_prefix.
Steps to Reproduce
Context (Environment)
The text was updated successfully, but these errors were encountered: