Skip to content
This repository was archived by the owner on Feb 15, 2022. It is now read-only.
This repository was archived by the owner on Feb 15, 2022. It is now read-only.

Bedrock TF template modules should use relative paths #996

@yradsmikham

Description

@yradsmikham

As a:
Operator

I want:
terraform modules to be using relative paths

So that:
the Bedrock terraform templates are not tied to a specific branch of a repo

Describe the solution you'd like:
Change the module sources for Bedrock terraform templates to using relative paths. For example,

module "aks-gitops" {
  source = "github.com/microsoft/bedrock?ref=0.12.0//cluster/azure/aks-gitops"

to

module "aks-gitops" {
  source = "../../azure/aks-gitops"

Acceptance Criteria:

This should be done for all Bedrock TF environments while maintaining stability in Bedrock integration tests.

Optional - Currently not in Integration Test Harness

  • azure-multiple-clusters-waf-tm-apimgmt
  • azure-single-keyvault-cosmos-mongo-db-simple
  • azure-velerto-restore

In addition, we need to clean up modules that reference other modules (if there exists any):

  • terraform modules that reference other modules

Does this require updates to documentation?:
Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    epicAn "epic" story that holds several related issues

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions