Skip to content

Commit 622fd6c

Browse files
Update main.tf
Co-authored-by: Daniele Monti <62102073+Monska85@users.noreply.github.com>
1 parent 1bae978 commit 622fd6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ locals {
2424
# Gitlab Agent CI/CD variables
2525
gitlab_agent_kubernetes_context_variables = {
2626
(var.gitlab_agent_variable_name_agent_id) : gitlab_cluster_agent.this.name,
27-
(var.gitlab_agent_variable_name_agent_project) : local.use_existing_project == 1 ? data.gitlab_project.this[0].path_with_namespace : gitlab_project.project[0].path_with_namespace,
27+
(var.gitlab_agent_variable_name_agent_project) : local.project_path_with_namespace,
2828
}
2929
}
3030

0 commit comments

Comments
 (0)