Skip to content

Replace hardcoded Backstage URLs with centralized Terraform variables #206

@coderabbitai

Description

@coderabbitai

Description

Several files in the codebase contain hardcoded Backstage URLs that should reference the newly added centralized Terraform variables (backstage_app_config_base_url) to ensure consistency and easier maintenance.

Files requiring updates:

  1. app/templates/opentofu-child-module-repository/template.yaml:98

    • Current: url: https://backstage.osinfra.io/docs/default/component/${{ parameters.component_id }}
    • Should use: variable reference
  2. app/catalog/entities.yaml

    • Current: hardcoded URLs like https://sb.backstage.osinfra.io and https://backstage.osinfra.io
    • Should use: variable references

Context

This issue was identified during PR #205 review where centralized Terraform variables were added for Backstage configuration. Having multiple hardcoded URLs defeats the purpose of centralization and creates potential for configuration drift.

References

Requested by: @brettcurtis

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

Projects

Status

Todo ✏

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions