Skip to content

tofu-infra: use project name instead of tenant id

Arturo Borrero Gonzalez requested to merge arturo-232-tofu-infra-use-proj into main

We often reference objects by their tofu ID which is often composed of "projectname_objectname".

Instead of passing tenant_id, use project name, and translate the name to the actual project id in resource parameters when required.

This is specially useful for a follow up patch, in which we introduce the "projectname_objectname" tofu resource ID pattern for network objects.

Bug: T375283 Signed-off-by: Arturo Borrero Gonzalez aborrero@wikimedia.org

Merge request reports