https://github.com/launchbynttdata/tf-azurerm-module_primitive-redis_cache_access_policy
https://github.com/launchbynttdata/tf-azurerm-module_primitive-redis_cache_access_policy
Last synced: 13 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/launchbynttdata/tf-azurerm-module_primitive-redis_cache_access_policy
- Owner: launchbynttdata
- License: apache-2.0
- Created: 2025-09-05T18:20:01.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2026-04-06T15:00:40.000Z (3 months ago)
- Last Synced: 2026-04-06T16:30:07.248Z (3 months ago)
- Language: Makefile
- Size: 42 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Notice: NOTICE
Awesome Lists containing this project
README
# tf-azurerm-module_primitive-redis_cache_access_policy
[](https://opensource.org/licenses/Apache-2.0)
[](https://creativecommons.org/licenses/by-nc-nd/4.0/)
## Overview
An access policy that allows configuration of Redis permissions.
## Local Development and Testing
To set yourself up for local development and testing activities, ensure you have the following software available on your PATH:
- make
- git (ensure your user.name and user.email are configured)
- [git-repo](https://gerrit.googlesource.com/git-repo#install)
- [`asdf`](https://asdf-vm.com) or [`mise`](https://mise.jdx.dev/)
- python3 (for pre-commit hooks)
You will also need to authenticate to the Cloud Provider. Terraform will use the default credential resolution mechanism, so ensure you are signed on through the CLI.
Clone this repository to your machine and issue the following command:
```
make configure
```
This will synchronize supporting repositories into this directory and expose additional targets.
To perform linting actions against the Terraform module and Terratests, issue the following command:
```
make lint
```
To provision cloud resources and perform tests against them, issue the following command:
```
make test
```
Note that `make test` causes the creation of some ignored files on your filesystem. This behavior is expected and we want to exclude any state or lockfiles from being pushed to the repository.
These two commands will be utilized in the pipeline and if you cannot run them successfully locally, you are unlikely to see a different result in the pipeline.
For convenience, a target exists that will execute both `make lint` and `make test` for you in sequence. Issue the following command to perform a holistic lint and test:
```
make check
```
## Requirements
| Name | Version |
|------|---------|
| [terraform](#requirement\_terraform) | ~> 1.0 |
| [azurerm](#requirement\_azurerm) | ~> 3.117 |
## Modules
No modules.
## Resources
| Name | Type |
|------|------|
| [azurerm_redis_cache_access_policy.policy](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/redis_cache_access_policy) | resource |
## Inputs
| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| [name](#input\_name) | The name of the Redis Cache Access Policy. Changing this forces a new Redis Cache Access Policy to be created. | `string` | n/a | yes |
| [redis\_cache\_id](#input\_redis\_cache\_id) | The ID of the Redis Cache. Changing this forces a new Redis Cache Access Policy to be created. | `string` | n/a | yes |
| [permissions](#input\_permissions) | Permissions that are going to be assigned to this Redis Cache Access Policy. | `string` | n/a | yes |
## Outputs
| Name | Description |
|------|-------------|
| [id](#output\_id) | The ID of the Redis Cache Access Policy. |