Skip to content

Platformify should allow naming an app after one of the services we support #221

Open
@akalipetis

Description

@akalipetis

Having the same name for an app and a service leads to an error, as we can't conclusively infer relationships.

Naming an app after our known services should not be allowed when running platformify.

Example config:

applications:
  mysql:
...
    relationships:
      mysql: "mysql:MySQL"

Error:

  E: Error parsing configuration files:
      - applications: Application 'mysql' already exists as a service.
  To git.eu-5.platform.sh:XXX.git
   ! [remote rejected] HEAD -> main (invalid configuration files)
  error: failed to push some refs to 'git.eu-5.platform.sh:XXX.git'

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