Skip to content
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

feat: New module avm/res/cache/redis-enterprise - Redis Enterprise and Azure Managed Redis (Preview) #4114

Merged
merged 11 commits into from
Feb 19, 2025

Conversation

JeffreyCA
Copy link
Contributor

@JeffreyCA JeffreyCA commented Dec 30, 2024

Description

Initial implementation of Bicep AVM for Redis Enterprise and Azure Managed Redis (Preview) caches (Microsoft.Cache/redisEnterprise).

There is a related module, avm/res/cache/redis, that covers Microsoft.Cache/redis:

Module Name Resource Type SKUs
avm/res/cache/redis Microsoft.Cache/redis OSS Redis: Basic, Standard, Premium
avm/res/cache/redis-enterprise (this PR) Microsoft.Cache/redisEnterprise Redis Enterprise: Enterprise, Enterprise Flash
Azure Managed Redis (Preview): Balanced, Compute Optimized, Flash Optimized, Memory Optimized

image

Closes Azure/Azure-Verified-Modules#1731.

Pipeline Reference

I'm facing issues setting up CI on my fork using my Azure subscription and Service Principal in the Microsoft tenant, but was able to validate all the E2E tests passed using Test-ModuleLocally.ps1.

image

Pipeline

Type of Change

  • Update to CI Environment or utilities (Non-module affecting changes)
  • Azure Verified Module updates:
    • Bugfix containing backwards-compatible bug fixes, and I have NOT bumped the MAJOR or MINOR version in version.json:
      • Someone has opened a bug report issue, and I have included "Closes #{bug_report_issue_number}" in the PR description.
      • The bug was found by the module author, and no one has opened an issue to report it yet.
    • Feature update backwards compatible feature updates, and I have bumped the MINOR version in version.json.
    • Breaking changes and I have bumped the MAJOR version in version.json.
    • Update to documentation

Checklist

  • I'm sure there are no other open Pull Requests for the same update/change
  • I have run Set-AVMModule locally to generate the supporting module files.
  • My corresponding pipelines / checks run clean and green without any errors or warnings

@JeffreyCA JeffreyCA requested review from a team as code owners December 30, 2024 22:00
@avm-team-linter avm-team-linter bot added the Needs: Core Team 🧞 This item needs the AVM Core Team to review it label Dec 30, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added Needs: Triage 🔍 Maintainers need to triage still Type: AVM 🅰️ ✌️ Ⓜ️ This is an AVM related issue labels Dec 30, 2024
@AlexanderSehr AlexanderSehr removed the Needs: Triage 🔍 Maintainers need to triage still label Jan 2, 2025
@JeffreyCA JeffreyCA force-pushed the cache/redis-enterprise branch 3 times, most recently from c100ac5 to 9e7eb8d Compare January 9, 2025 01:20
Copy link
Contributor

@AlexanderSehr AlexanderSehr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Create work @JeffreyCA, not much to call out :) Let me know if you have any questions regarding the comments.
If you addressed any please just comment them as such and I'll resolve them after a re-review.

Also, if you need help with the CI, let me know.

@AlexanderSehr AlexanderSehr self-assigned this Jan 9, 2025
@AlexanderSehr AlexanderSehr added the Class: Resource Module 📦 This is a resource module label Jan 9, 2025
@JeffreyCA JeffreyCA force-pushed the cache/redis-enterprise branch from 4b56325 to 275dca7 Compare February 19, 2025 01:36
@JeffreyCA
Copy link
Contributor Author

Tests pass with latest changes:

image

@AlexanderSehr AlexanderSehr merged commit d91e5e5 into Azure:main Feb 19, 2025
4 checks passed
anderseide pushed a commit to anderseide/avm-bicep-registry-modules that referenced this pull request Feb 19, 2025
…and Azure Managed Redis (Preview) (Azure#4114)

## Description

Initial implementation of Bicep AVM for Redis Enterprise and Azure
Managed Redis (Preview) caches (`Microsoft.Cache/redisEnterprise`).

There is a related module,
[`avm/res/cache/redis`](https://github.com/Azure/bicep-registry-modules/tree/main/avm/res/cache/redis),
that covers `Microsoft.Cache/redis`:

| Module Name | Resource Type | SKUs |

|----------------------------|--------------------------------|--------------------------------------------------------------------------------------------|
|
[`avm/res/cache/redis`](https://github.com/Azure/bicep-registry-modules/tree/main/avm/res/cache/redis)
| Microsoft.Cache/redis | **OSS Redis:** Basic, Standard, Premium |
| `avm/res/cache/redis-enterprise` (this PR) |
Microsoft.Cache/redisEnterprise | **Redis Enterprise:** Enterprise,
Enterprise Flash<br>**Azure Managed Redis (Preview):** Balanced, Compute
Optimized, Flash Optimized, Memory Optimized |


![image](https://github.com/user-attachments/assets/7128fcea-0708-4ae5-b2ed-8e1e1b9dd6ff)

Closes Azure/Azure-Verified-Modules#1731.

## Pipeline Reference

I'm facing issues setting up CI on my fork using my Azure subscription
and Service Principal in the Microsoft tenant, but was able to validate
all the E2E tests passed using
[`Test-ModuleLocally.ps1`](https://github.com/Azure/bicep-registry-modules/blob/main/utilities/tools/Test-ModuleLocally.ps1).


![image](https://github.com/user-attachments/assets/9a8de7d8-598e-41b0-8ebc-3ae68ceb697b)

<!-- Insert your Pipeline Status Badge below -->

| Pipeline |
| -------- |
|          |

## Type of Change

<!-- Use the checkboxes [x] on the options that are relevant. -->

- [ ] Update to CI Environment or utilities (Non-module affecting
changes)
- [x] Azure Verified Module updates:
- [ ] Bugfix containing backwards-compatible bug fixes, and I have NOT
bumped the MAJOR or MINOR version in `version.json`:
- [ ] Someone has opened a bug report issue, and I have included "Closes
#{bug_report_issue_number}" in the PR description.
- [ ] The bug was found by the module author, and no one has opened an
issue to report it yet.
- [ ] Feature update backwards compatible feature updates, and I have
bumped the MINOR version in `version.json`.
- [ ] Breaking changes and I have bumped the MAJOR version in
`version.json`.
  - [x] Update to documentation

## Checklist

- [x] I'm sure there are no other open Pull Requests for the same
update/change
- [x] I have run `Set-AVMModule` locally to generate the supporting
module files.
- [ ] My corresponding pipelines / checks run clean and green without
any errors or warnings

<!-- Please keep up to date with the contribution guide at
https://aka.ms/avm/contribute/bicep -->
anderseide pushed a commit to anderseide/avm-bicep-registry-modules that referenced this pull request Feb 23, 2025
…and Azure Managed Redis (Preview) (Azure#4114)

## Description

Initial implementation of Bicep AVM for Redis Enterprise and Azure
Managed Redis (Preview) caches (`Microsoft.Cache/redisEnterprise`).

There is a related module,
[`avm/res/cache/redis`](https://github.com/Azure/bicep-registry-modules/tree/main/avm/res/cache/redis),
that covers `Microsoft.Cache/redis`:

| Module Name | Resource Type | SKUs |

|----------------------------|--------------------------------|--------------------------------------------------------------------------------------------|
|
[`avm/res/cache/redis`](https://github.com/Azure/bicep-registry-modules/tree/main/avm/res/cache/redis)
| Microsoft.Cache/redis | **OSS Redis:** Basic, Standard, Premium |
| `avm/res/cache/redis-enterprise` (this PR) |
Microsoft.Cache/redisEnterprise | **Redis Enterprise:** Enterprise,
Enterprise Flash<br>**Azure Managed Redis (Preview):** Balanced, Compute
Optimized, Flash Optimized, Memory Optimized |


![image](https://github.com/user-attachments/assets/7128fcea-0708-4ae5-b2ed-8e1e1b9dd6ff)

Closes Azure/Azure-Verified-Modules#1731.

## Pipeline Reference

I'm facing issues setting up CI on my fork using my Azure subscription
and Service Principal in the Microsoft tenant, but was able to validate
all the E2E tests passed using
[`Test-ModuleLocally.ps1`](https://github.com/Azure/bicep-registry-modules/blob/main/utilities/tools/Test-ModuleLocally.ps1).


![image](https://github.com/user-attachments/assets/9a8de7d8-598e-41b0-8ebc-3ae68ceb697b)

<!-- Insert your Pipeline Status Badge below -->

| Pipeline |
| -------- |
|          |

## Type of Change

<!-- Use the checkboxes [x] on the options that are relevant. -->

- [ ] Update to CI Environment or utilities (Non-module affecting
changes)
- [x] Azure Verified Module updates:
- [ ] Bugfix containing backwards-compatible bug fixes, and I have NOT
bumped the MAJOR or MINOR version in `version.json`:
- [ ] Someone has opened a bug report issue, and I have included "Closes
#{bug_report_issue_number}" in the PR description.
- [ ] The bug was found by the module author, and no one has opened an
issue to report it yet.
- [ ] Feature update backwards compatible feature updates, and I have
bumped the MINOR version in `version.json`.
- [ ] Breaking changes and I have bumped the MAJOR version in
`version.json`.
  - [x] Update to documentation

## Checklist

- [x] I'm sure there are no other open Pull Requests for the same
update/change
- [x] I have run `Set-AVMModule` locally to generate the supporting
module files.
- [ ] My corresponding pipelines / checks run clean and green without
any errors or warnings

<!-- Please keep up to date with the contribution guide at
https://aka.ms/avm/contribute/bicep -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Class: Resource Module 📦 This is a resource module Needs: Core Team 🧞 This item needs the AVM Core Team to review it Type: AVM 🅰️ ✌️ Ⓜ️ This is an AVM related issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Module Proposal]: avm/res/cache/redis-enterprise
2 participants