Skip to content

project-factory doesn't allow removing prefix for one project #3594

@wiktorn

Description

@wiktorn

Affected components

  • Fabric modules
  • FAST
  • Blueprints
  • Other

The problem

When I provide a prefix as a default, I can' have a project without prefix provided.

Because we are using coalesce, If I set prefix: "" or prefix: null it will go to the local.data_defaults.defaults.prefix

Release version

master

Terraform version

1.14.2.

Steps to reproduce

Use following yaml for project definition:

name: test
prefix: ""

Expected behavior

Create project test

Actual behavior

Creates project ${prefix}-test

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions