Azure / apim-landing-zone-accelerator

The Azure API Management landing zone accelerator provides an architectural approach and reference implementation to prepare landing zone subscriptions for a secure API Management infrastructure.
https://aka.ms/apim-lza
MIT License
148 stars 153 forks source link

Feat(Terraform): Baseline and Genai Scenarios #133

Closed nidhirw closed 1 month ago

nidhirw commented 2 months ago

What's included in this PR?

This pull request introduces several significant changes to the project, primarily focusing on improving the development environment and adding comprehensive Terraform-based deployment guides and configurations for the 'Baseline' and 'GenAI' scenarios. Below is a summary of the most important changes:

Features

1. Terraform Templates for Baseline Scenario:

2. Terraform Templates for GenAI Scenario

3. Deployment Scripts:

Docs

  1. Documentation Updates:
    • Updated README files with correct paths and deployment instructions reflecting the new structure.
    • Added a Terraform-based deployment guide for both apim-baseline and workload-genai scenarios, including detailed steps and prerequisites.

Chore

  1. Dev Container

    • Added use of dev container.
  2. Terraform Sample Script for Terraform Backend

    • Added the script scenarios/scripts/terraform/azure-backend-sample.sh to create the backend required for terraform.
  3. Code Formatting:

    • Updated main.bicep and other related files to improve code readability and consistency.
    • Made minor formatting changes across scripts for better readability and maintainability.

How to review the PR

How to deploy the baseline scenario:

How to deploy the GenAI scenario:

After running the baseline deployment script, run the following command to deploy the genai scenario:

```bash
./scripts/terraform/deploy-workload-genai.sh
```