Skip to content

fast/stages/1-resman: Allow stage 2 Network and Security folders to be created under top level folder #2743

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
tenminus11 opened this issue Dec 4, 2024 · 1 comment · Fixed by #2744

Comments

@tenminus11
Copy link

local.top_level_folder_ids[var.fast_stage_2.networking.folder_config],

below change to code will allow networking folder to be created under top level folder

parent = (
    var.fast_stage_2.networking.folder_config.parent_id == null
    ? local.root_node
    : try(
      local.top_level_folder_ids[var.fast_stage_2.networking.folder_config.parent_id],
      var.fast_stage_2.networking.folder_config.parent_id
    )
  )

same can be applied to stage-2 security as well

@tenminus11 tenminus11 changed the title fast/stage/1-resman: Allow stage 2 Network and Security to be created under top level folder fast/stages/1-resman: Allow stage 2 Network and Security folders to be created under top level folder Dec 4, 2024
@ludoo
Copy link
Collaborator

ludoo commented Dec 4, 2024

Yes, we have a bug there great find. I'll send a quick fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants