Skip to content

4-proj Creating projects in business units #1401

Open
@madi-parloa

Description

@madi-parloa

TL;DR

Provide more explanation on how to create projects for every environment in one business unit but not the other. Currently, the examples in 4-projects/modules/base_env, create the same set of standard projects in every environment of every business units.

Terraform Resources

Detailed design

Additional information

It is very much unclear how to create projects that are unique to one business unit. For example, only environments business_unit_1 need to have project_a but not in business_unit_2.

The only hint I found is here:

The code in this step includes two options for creating projects. The first is the standard projects module which creates a project per environment, and the second creates a standalone project for one environment. If relevant for your use case, there are also two optional submodules which can be used to create a subnet per project, and a dedicated private DNS zone per project.

As I understand, we need to call the single_project module located from 4-projects/modules/single_project in a new module in 4-projects/business_unit_1/modules/. Then call that new module in every environment of business_unit_1. However, it is unclear if that was the intention.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions