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

AWS ElastiCache Memcached Cluster with Encrypt in Transit enabled #26367

Closed
shonigbaum opened this issue Aug 18, 2022 · 7 comments · Fixed by #26987
Closed

AWS ElastiCache Memcached Cluster with Encrypt in Transit enabled #26367

shonigbaum opened this issue Aug 18, 2022 · 7 comments · Fixed by #26987
Labels
enhancement Requests to existing resources that expand the functionality or scope. service/elasticache Issues and PRs that pertain to the elasticache service.
Milestone

Comments

@shonigbaum
Copy link

shonigbaum commented Aug 18, 2022

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

I wanted to create a AWS ElastiCache Memcached Cluster with "Encrypt in Transit" enabled (https://aws.amazon.com/about-aws/whats-new/2022/05/amazon-elasticache-memcached-supports-encryption-data-transit/?nc1=h_ls). This is possible in the AWS Management Console or the awscli (https://docs.aws.amazon.com/cli/latest/reference/elasticache/index.html).

Can you implement it? Or is it somehow possible in another way? I only found the resource aws_elasticache_replication_group, but I think this is only for Redis?

New or Affected Resource(s)

  • aws_elasticache_cluster

References

@shonigbaum shonigbaum added the enhancement Requests to existing resources that expand the functionality or scope. label Aug 18, 2022
@github-actions github-actions bot added needs-triage Waiting for first response or review from a maintainer. service/elasticache Issues and PRs that pertain to the elasticache service. labels Aug 18, 2022
@breathingdust breathingdust removed the needs-triage Waiting for first response or review from a maintainer. label Aug 18, 2022
@nitrotm
Copy link

nitrotm commented Aug 29, 2022

Sounds like this flag is now supported by API and could be implemented by the tf provider (see discussion in #2823):

https://docs.aws.amazon.com/AmazonElastiCache/latest/APIReference/API_CreateCacheCluster.html

TransitEncryptionEnabled

    A flag that enables in-transit encryption when set to true. You cannot modify the value of TransitEncryptionEnabled after the cluster is created. To enable in-transit encryption on a cluster you must set TransitEncryptionEnabled to true when you create a cluster.

    Required: Only available when creating a cache cluster in an Amazon VPC using Memcached version 1.6.12 or later.

@prashanthaitha24
Copy link

When is this flag going to be available?

@michaelrechani
Copy link

Is in-transit encryption available for memcached when deploying via Terraform yet?

jar-b added a commit that referenced this issue Sep 7, 2023
)

* r/aws_elasticache_cluster: Add support for in-transit encryption

Fixes: #26367

* r/aws_elasticache_cluster(test): switch to regexache

* r/aws_elasticache_cluster(docs): tidy transit_encryption_enabled

* r/aws_elasticache_cluster: centralize customize diff func

* r/aws_elasticache_cluster(test): extend test checks

* r/aws_elasticache_cluster: set transit_encryption_enabled on read

* chore: changelog

---------

Co-authored-by: Jared Baker <jared.baker@hashicorp.com>
@github-actions github-actions bot added this to the v5.16.0 milestone Sep 7, 2023
@github-actions
Copy link

github-actions bot commented Sep 8, 2023

This functionality has been released in v5.16.0 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.

For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you!

@alex-k-verkada
Copy link

This might be a dumb question, but is it possible to bring this change to v4 provider as well?

@jar-b
Copy link
Member

jar-b commented Sep 22, 2023

Hey @alex-k-verkada - not a dumb question at all. At this time our policy is to limit back ported changes to security vulnerabilities, which does not apply here. Additional context can be found in our contributing guide here:

https://hashicorp.github.io/terraform-provider-aws/faq/#once-a-major-release-is-published-will-new-features-and-fixes-be-backported-to-previous-versions

@github-actions
Copy link

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement Requests to existing resources that expand the functionality or scope. service/elasticache Issues and PRs that pertain to the elasticache service.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants