Skip to content

fix(repository-environment): scope metadata name by repository - #46

Merged
posquit0 merged 1 commit into
mainfrom
fix/repository-environment-unique-metadata-name
Oct 8, 2026
Merged

posquit0 merged 1 commit into
mainfrom
fix/repository-environment-unique-metadata-name

Conversation

@posquit0

@posquit0 posquit0 commented Oct 8, 2026

Copy link
Copy Markdown
Member

Summary

local.metadata.name identifies the module instance. It is used for the module.terraform.io/instance tag and the upcoming module usage telemetry. For repository-environment, the previous value is not unique: an environment name is only unique within its repository.

This PR makes it unique, following record-set in terraform-aws-domain ("${var.zone}/${var.name}/${var.type}").

Changes

  • local.metadata.name: var.name → "${var.repository}/${var.name}"

Impact on existing callers

  • None. local.metadata.name is not referenced by any resource in this module yet, so there is no plan diff.

@github-actions github-actions Bot added the 💾 repository-environment This issue or pull request is related to repository-environment module. label Oct 8, 2026
@github-actions github-actions Bot added the size/XS Extra Small size issue or PR. label Oct 8, 2026
@github-actions

github-actions Bot commented Oct 8, 2026

Copy link
Copy Markdown

Terraform Integration

Directory fmt validate tflint docs
modules/repository-environment ✅ ✅ ✅ ✅

✅ All 1 passed.

@posquit0
posquit0 merged commit cb9fa2e into main Oct 8, 2026
7 checks passed
@posquit0
posquit0 deleted the fix/repository-environment-unique-metadata-name branch October 8, 2026 06:14
@tedilabs-release tedilabs-release Bot mentioned this pull request Oct 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

💾 repository-environment This issue or pull request is related to repository-environment module. size/XS Extra Small size issue or PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant