File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,8 @@ locals {
1010 final_namespace = var. create_namespace ? resource. kubernetes_namespace_v1 . this [0 ]. metadata [0 ]. name : data. kubernetes_namespace_v1 . this [0 ]. metadata [0 ]. name
1111
1212 use_existing_project = var. gitlab_project_name == " " ? 1 : 0
13- project_id = local. use_existing_project == 1 ? data. gitlab_project . this [0 ]. id : gitlab_project. project [0 ]. id
13+ project_id = local. use_existing_project == 1 ? data. gitlab_project . this [0 ]. id : gitlab_project. project [0 ]. id
14+ project_path_with_namespace = local. use_existing_project == 1 ? data. gitlab_project . this [0 ]. path_with_namespace : gitlab_project. project [0 ]. path_with_namespace
1415
1516 gitlab_agent_token_name_computed = replace (var. gitlab_agent_token_name , " {{gitlab_agent_name}}" , var. gitlab_agent_name )
1617 gitlab_agent_token_description_computed = replace (var. gitlab_agent_token_description , " {{gitlab_agent_name}}" , var. gitlab_agent_name )
You can’t perform that action at this time.
0 commit comments