https://pulumi.com logo
#general
Title
# general
b

best-lifeguard-91445

05/22/2020, 9:41 PM
Is there a way to set the ECR repository name without the random suffix? deleteBeforeReplace isn't an available option, nor is 'name'.
w

white-balloon-205

05/22/2020, 9:45 PM
I thought there was a
name
parameter available? https://www.pulumi.com/docs/reference/pkg/aws/ecr/repository/#inputs
b

best-lifeguard-91445

05/22/2020, 9:48 PM
it's not in RepositoryArgs
Any ideas?
r

rich-easter-89163

05/23/2020, 12:06 AM
f

freezing-flag-53289

05/23/2020, 12:42 AM
I suspect you might be using
@pulumi/awsx
which does not have a
name
property in the args. You can use
@pulumi.aws
instead which will let you set it.
b

best-lifeguard-91445

05/23/2020, 2:12 AM
Thanks guys -- it was awsx