Skip to content

Custom Autonaming #1647

@benswinburne

Description

@benswinburne

I'm using an awsx resrouce in my program but getting this warning on pulumi up

warning: urn:pulumi:stack-name::project-name::awsx:ecr:Image$docker-build:index:Image::12345678-container resource has a custom autonaming setting but the provider does not support autonaming configuration, consider upgrading to a newer version

This is the resource

const image = new awsx.ecr.Image('image', {
  repositoryUrl: repo.repositoryUrl,
  context: path.resolve('../.'),
  platform: 'linux/arm64',
});

And this is the autonaming config in my Pulumi.yaml file

config:
  aws:region: us-east-1
  pulumi:autonaming:
    value:
      enforce: true
      pattern: ${name}-${project}-${stack}-${hex(8)}

Is there a way I can suppress this warning, disable autonaming for this resource (I could only work out how to add a different autonaming for the resource), or is custom naming support on the roadmap for awsx?

Cheers

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions