Skip to content

Commit a49c8e6

Browse files
fix: remove transit_encryption != null, auth_token rotation support (#195)
* fix: remove transit_encryption != null, auth_token rotation support * docs: readme updated via makefile
1 parent b7c841a commit a49c8e6

File tree

2 files changed

+71
-79
lines changed

2 files changed

+71
-79
lines changed

README.md

Lines changed: 70 additions & 78 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,16 @@
1-
21
<!-- markdownlint-disable -->
3-
# terraform-aws-elasticache-redis [![Latest Release](https://img.shields.io/github/release/cloudposse/terraform-aws-elasticache-redis.svg)](https://github.com/cloudposse/terraform-aws-elasticache-redis/releases/latest) [![Slack Community](https://slack.cloudposse.com/badge.svg)](https://slack.cloudposse.com)
2+
# terraform-aws-elasticache-redis <a href="https://cpco.io/homepage?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/terraform-aws-elasticache-redis&utm_content="><img align="right" src="https://cloudposse.com/logo-300x69.svg" width="150" /></a>
3+
<a href="https://github.com/cloudposse/terraform-aws-elasticache-redis/releases/latest"><img src="https://img.shields.io/github/release/cloudposse/terraform-aws-elasticache-redis.svg" alt="Latest Release"/></a><a href="https://slack.cloudposse.com"><img src="https://slack.cloudposse.com/badge.svg" alt="Slack Community"/></a>
44
<!-- markdownlint-restore -->
55

6-
[![README Header][readme_header_img]][readme_header_link]
7-
8-
[![Cloud Posse][logo]](https://cpco.io/homepage)
9-
106
<!--
117
128
139
1410
1511
** DO NOT EDIT THIS FILE
1612
**
17-
** This file was automatically generated by the `build-harness`.
13+
** This file was automatically generated by the `cloudposse/build-harness`.
1814
** 1) Make all changes to `README.yaml`
1915
** 2) Run `make init` (you only need to do this once)
2016
** 3) Run`make readme` to rebuild this file.
@@ -30,24 +26,26 @@
3026

3127
Terraform module to provision an [`ElastiCache`](https://aws.amazon.com/elasticache/) Redis Cluster
3228

33-
---
34-
35-
This project is part of our comprehensive ["SweetOps"](https://cpco.io/sweetops) approach towards DevOps.
36-
<a href="https://cpco.io/terraform-modules"><img src="https://docs.cloudposse.com/images/terraform-open-source-modules.svg" align="right" /></a>
37-
38-
39-
It's 100% Open Source and licensed under the [APACHE2](LICENSE).
40-
41-
42-
43-
44-
45-
46-
47-
We literally have [*hundreds of terraform modules*][terraform_modules] that are Open Source and well-maintained. Check them out!
48-
4929

30+
---
31+
> [!NOTE]
32+
> This project is part of Cloud Posse's comprehensive ["SweetOps"](https://cpco.io/homepage?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/terraform-aws-elasticache-redis&utm_content=) approach towards DevOps.
33+
> <details><summary><strong>Learn More</strong></summary>
34+
> <a href="https://cpco.io/terraform-modules?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/terraform-aws-elasticache-redis&utm_content=terraform_modules">
35+
> <picture>
36+
> <source media="(prefers-color-scheme: dark)" srcset="https://docs.cloudposse.com/images/terraform-open-source-modules-light.svg">
37+
> <source media="(prefers-color-scheme: light)" srcset="https://docs.cloudposse.com/images/terraform-open-source-modules-dark.svg">
38+
> <img alt="Terraform Open Source Modules" src="https://docs.cloudposse.com/images/terraform-open-source-modules.svg" align="right">
39+
> </picture>
40+
> </a>
41+
>
42+
>
43+
> It's 100% Open Source and licensed under the [APACHE2](LICENSE).
44+
>
45+
> We literally have [*hundreds of terraform modules*](https://cpco.io/terraform-modules?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/terraform-aws-elasticache-redis&utm_content=terraform_modules) that are Open Source and well-maintained. Check them out!
46+
> </details>
5047
48+
<a href="https://cloudposse.com/readme/header/link?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/terraform-aws-elasticache-redis&utm_content=readme_header_link"><img src="https://cloudposse.com/readme/header/img"/></a>
5149

5250

5351

@@ -56,12 +54,11 @@ We literally have [*hundreds of terraform modules*][terraform_modules] that are
5654

5755

5856

59-
> **Important**
60-
> We do not pin modules to versions in our examples because of the
61-
> difficulty of keeping the versions in the documentation in sync with the latest released versions.
62-
> We highly recommend that in your code you pin the version to the exact version you are
63-
> using so that your infrastructure remains stable, and update versions in a
64-
> systematic way so that they do not catch you by surprise.
57+
> [!IMPORTANT]
58+
> In Cloud Posse's examples, we avoid pinning modules to specific versions to prevent discrepancies between the documentation
59+
> and the latest released versions. However, for your own projects, we strongly advise pinning each module to the exact version
60+
> you're using. This practice ensures the stability of your infrastructure. Additionally, we recommend implementing a systematic
61+
> approach for updating versions to avoid unexpected changes.
6562
6663

6764

@@ -324,7 +321,7 @@ Check out these related projects.
324321

325322
## ✨ Contributing
326323

327-
This project is under active development, and we encourage contributions from our community.
324+
This project is under active development, and we encourage contributions from our community.
328325
Many thanks to our outstanding contributors:
329326

330327
<a href="https://github.com/cloudposse/terraform-aws-elasticache-redis/graphs/contributors">
@@ -337,45 +334,53 @@ Please use the [issue tracker](https://github.com/cloudposse/terraform-aws-elast
337334

338335
### 💻 Developing
339336

340-
If you are interested in being a contributor and want to get involved in developing this project or [help out](https://cpco.io/help-out) with our other projects, we would love to hear from you! Shoot us an [email][email].
337+
If you are interested in being a contributor and want to get involved in developing this project or help out with Cloud Posse's other projects, we would love to hear from you!
338+
Hit us up in [Slack](https://cpco.io/slack?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/terraform-aws-elasticache-redis&utm_content=slack), in the `#cloudposse` channel.
341339

342340
In general, PRs are welcome. We follow the typical "fork-and-pull" Git workflow.
343-
344-
1. **Fork** the repo on GitHub
345-
2. **Clone** the project to your own machine
346-
3. **Commit** changes to your own branch
347-
4. **Push** your work back up to your fork
348-
5. Submit a **Pull Request** so that we can review your changes
341+
1. Review our [Code of Conduct](https://github.com/cloudposse/terraform-aws-elasticache-redis/?tab=coc-ov-file#code-of-conduct) and [Contributor Guidelines](https://github.com/cloudposse/.github/blob/main/CONTRIBUTING.md).
342+
2. **Fork** the repo on GitHub
343+
3. **Clone** the project to your own machine
344+
4. **Commit** changes to your own branch
345+
5. **Push** your work back up to your fork
346+
6. Submit a **Pull Request** so that we can review your changes
349347

350348
**NOTE:** Be sure to merge the latest changes from "upstream" before making a pull request!
351349

352350
### 🌎 Slack Community
353351

354-
Join our [Open Source Community][slack] on Slack. It's **FREE** for everyone! Our "SweetOps" community is where you get to talk with others who share a similar vision for how to rollout and manage infrastructure. This is the best place to talk shop, ask questions, solicit feedback, and work together as a community to build totally *sweet* infrastructure.
352+
Join our [Open Source Community](https://cpco.io/slack?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/terraform-aws-elasticache-redis&utm_content=slack) on Slack. It's **FREE** for everyone! Our "SweetOps" community is where you get to talk with others who share a similar vision for how to rollout and manage infrastructure. This is the best place to talk shop, ask questions, solicit feedback, and work together as a community to build totally *sweet* infrastructure.
355353

356354
### 📰 Newsletter
357355

358-
Sign up for [our newsletter][newsletter] that covers everything on our technology radar. Receive updates on what we're up to on GitHub as well as awesome new projects we discover.
356+
Sign up for [our newsletter](https://cpco.io/newsletter?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/terraform-aws-elasticache-redis&utm_content=newsletter) and join 3,000+ DevOps engineers, CTOs, and founders who get insider access to the latest DevOps trends, so you can always stay in the know.
357+
Dropped straight into your Inbox every week — and usually a 5-minute read.
358+
359+
### 📆 Office Hours <a href="https://cloudposse.com/office-hours?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/terraform-aws-elasticache-redis&utm_content=office_hours"><img src="https://img.cloudposse.com/fit-in/200x200/https://cloudposse.com/wp-content/uploads/2019/08/Powered-by-Zoom.png" align="right" /></a>
359360

360-
### 📆 Office Hours <img src="https://img.cloudposse.com/fit-in/200x200/https://cloudposse.com/wp-content/uploads/2019/08/Powered-by-Zoom.png" align="right" />
361+
[Join us every Wednesday via Zoom](https://cloudposse.com/office-hours?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/terraform-aws-elasticache-redis&utm_content=office_hours) for your weekly dose of insider DevOps trends, AWS news and Terraform insights, all sourced from our SweetOps community, plus a _live Q&A_ that you can’t find anywhere else.
362+
It's **FREE** for everyone!
361363

362-
[Join us every Wednesday via Zoom][office_hours] for our weekly "Lunch & Learn" sessions. It's **FREE** for everyone!
364+
## About
363365

364-
## About
366+
This project is maintained by <a href="https://cpco.io/homepage?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/terraform-aws-elasticache-redis&utm_content=">Cloud Posse, LLC</a>.
367+
<a href="https://cpco.io/homepage?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/terraform-aws-elasticache-redis&utm_content="><img src="https://cloudposse.com/logo-300x69.svg" align="right" /></a>
365368

366-
This project is maintained and funded by [Cloud Posse, LLC][website].
367-
<a href="https://cpco.io/homepage"><img src="https://cloudposse.com/logo-300x69.svg" align="right" /></a>
369+
We are a [**DevOps Accelerator**](https://cpco.io/commercial-support?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/terraform-aws-elasticache-redis&utm_content=commercial_support) for funded startups and enterprises.
370+
Use our ready-to-go terraform architecture blueprints for AWS to get up and running quickly.
371+
We build it with you. You own everything. Your team wins. Plus, we stick around until you succeed.
368372

369-
We are a [**DevOps Accelerator**][commercial_support]. We'll help you build your cloud infrastructure from the ground up so you can own it. Then we'll show you how to operate it and stick around for as long as you need us.
373+
<a href="https://cpco.io/commercial-support?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/terraform-aws-elasticache-redis&utm_content=commercial_support"><img alt="Learn More" src="https://img.shields.io/badge/learn%20more-success.svg?style=for-the-badge"/></a>
370374

371-
[![Learn More](https://img.shields.io/badge/learn%20more-success.svg?style=for-the-badge)][commercial_support]
375+
*Your team can operate like a pro today.*
372376

373-
Work directly with our team of DevOps experts via email, slack, and video conferencing.
377+
Ensure that your team succeeds by using our proven process and turnkey blueprints. Plus, we stick around until you succeed.
374378

375-
We deliver 10x the value for a fraction of the cost of a full-time engineer. Our track record is not even funny. If you want things done right and you need it done FAST, then we're your best bet.
379+
<details>
380+
<summary>📚 <strong>See What's Included</strong></summary>
376381

377382
- **Reference Architecture.** You'll get everything you need from the ground up built using 100% infrastructure as code.
378-
- **Release Engineering.** You'll have end-to-end CI/CD with unlimited staging environments.
383+
- **Deployment Strategy.** You'll have a battle-tested deployment strategy using GitHub Actions that's automated and repeatable.
379384
- **Site Reliability Engineering.** You'll have total visibility into your apps and microservices.
380385
- **Security Baseline.** You'll have built-in governance with accountability and audit logs for all changes.
381386
- **GitOps.** You'll be able to operate your infrastructure via Pull Requests.
@@ -384,13 +389,19 @@ We deliver 10x the value for a fraction of the cost of a full-time engineer. Our
384389
- **Troubleshooting.** You'll get help to triage when things aren't working.
385390
- **Code Reviews.** You'll receive constructive feedback on Pull Requests.
386391
- **Bug Fixes.** We'll rapidly work with you to fix any bugs in our projects.
392+
</details>
387393

388-
[![README Commercial Support][readme_commercial_support_img]][readme_commercial_support_link]
394+
<a href="https://cloudposse.com/readme/commercial-support/link?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/terraform-aws-elasticache-redis&utm_content=readme_commercial_support_link"><img src="https://cloudposse.com/readme/commercial-support/img"/></a>
389395
## License
390396

391-
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
397+
<a href="https://opensource.org/licenses/Apache-2.0"><img src="https://img.shields.io/badge/License-Apache%202.0-blue.svg?style=for-the-badge" alt="License"></a>
392398

393-
See [LICENSE](LICENSE) for full details.
399+
<details>
400+
<summary>Preamble to the Apache License, Version 2.0</summary>
401+
<br/>
402+
<br/>
403+
404+
Complete license is available in the [`LICENSE`](LICENSE) file.
394405

395406
```text
396407
Licensed to the Apache Software Foundation (ASF) under one
@@ -410,34 +421,15 @@ KIND, either express or implied. See the License for the
410421
specific language governing permissions and limitations
411422
under the License.
412423
```
424+
</details>
413425

414426
## Trademarks
415427

416428
All other trademarks referenced herein are the property of their respective owners.
417429
---
418-
Copyright © 2017-2023 [Cloud Posse, LLC](https://cpco.io/copyright)
419-
[![README Footer][readme_footer_img]][readme_footer_link]
420-
[![Beacon][beacon]][website]
421-
<!-- markdownlint-disable -->
422-
[logo]: https://cloudposse.com/logo-300x69.svg
423-
[docs]: https://cpco.io/docs?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/terraform-aws-elasticache-redis&utm_content=docs
424-
[website]: https://cpco.io/homepage?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/terraform-aws-elasticache-redis&utm_content=website
425-
[github]: https://cpco.io/github?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/terraform-aws-elasticache-redis&utm_content=github
426-
[jobs]: https://cpco.io/jobs?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/terraform-aws-elasticache-redis&utm_content=jobs
427-
[hire]: https://cpco.io/hire?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/terraform-aws-elasticache-redis&utm_content=hire
428-
[slack]: https://cpco.io/slack?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/terraform-aws-elasticache-redis&utm_content=slack
429-
[twitter]: https://cpco.io/twitter?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/terraform-aws-elasticache-redis&utm_content=twitter
430-
[office_hours]: https://cloudposse.com/office-hours?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/terraform-aws-elasticache-redis&utm_content=office_hours
431-
[newsletter]: https://cpco.io/newsletter?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/terraform-aws-elasticache-redis&utm_content=newsletter
432-
[email]: https://cpco.io/email?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/terraform-aws-elasticache-redis&utm_content=email
433-
[commercial_support]: https://cpco.io/commercial-support?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/terraform-aws-elasticache-redis&utm_content=commercial_support
434-
[we_love_open_source]: https://cpco.io/we-love-open-source?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/terraform-aws-elasticache-redis&utm_content=we_love_open_source
435-
[terraform_modules]: https://cpco.io/terraform-modules?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/terraform-aws-elasticache-redis&utm_content=terraform_modules
436-
[readme_header_img]: https://cloudposse.com/readme/header/img
437-
[readme_header_link]: https://cloudposse.com/readme/header/link?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/terraform-aws-elasticache-redis&utm_content=readme_header_link
438-
[readme_footer_img]: https://cloudposse.com/readme/footer/img
439-
[readme_footer_link]: https://cloudposse.com/readme/footer/link?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/terraform-aws-elasticache-redis&utm_content=readme_footer_link
440-
[readme_commercial_support_img]: https://cloudposse.com/readme/commercial-support/img
441-
[readme_commercial_support_link]: https://cloudposse.com/readme/commercial-support/link?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/terraform-aws-elasticache-redis&utm_content=readme_commercial_support_link
442-
[beacon]: https://ga-beacon.cloudposse.com/UA-76589703-4/cloudposse/terraform-aws-elasticache-redis?pixel&cs=github&cm=readme&an=terraform-aws-elasticache-redis
443-
<!-- markdownlint-restore -->
430+
Copyright © 2017-2024 [Cloud Posse, LLC](https://cpco.io/copyright)
431+
432+
433+
<a href="https://cloudposse.com/readme/footer/link?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/terraform-aws-elasticache-redis&utm_content=readme_footer_link"><img alt="README footer" src="https://cloudposse.com/readme/footer/img"/></a>
434+
435+
<img alt="Beacon" width="0" src="https://ga-beacon.cloudposse.com/UA-76589703-4/cloudposse/terraform-aws-elasticache-redis?pixel&cs=github&cm=readme&an=terraform-aws-elasticache-redis"/>

main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ resource "aws_elasticache_replication_group" "default" {
154154
notification_topic_arn = var.notification_topic_arn
155155
engine_version = var.engine_version
156156
at_rest_encryption_enabled = var.at_rest_encryption_enabled
157-
transit_encryption_enabled = var.transit_encryption_enabled || var.auth_token != null
157+
transit_encryption_enabled = var.transit_encryption_enabled
158158
kms_key_id = var.at_rest_encryption_enabled ? var.kms_key_id : null
159159
snapshot_name = var.snapshot_name
160160
snapshot_arns = var.snapshot_arns

0 commit comments

Comments
 (0)