-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
New Resource aws_elasticache_serverless_cache #34951
New Resource aws_elasticache_serverless_cache #34951
Conversation
Community NoteVoting for Prioritization
For Submitters
|
@meetreks I really would love to make use of the Could you tell me, when this will be possible? |
@ewbankkit when you get a min, can you kindly review and merge please? |
daily_snapshot_time = "09:00" | ||
description = "Test Server" | ||
kms_key_id = aws_kms_key.test.arn | ||
major_engine_version = "1.6" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should be something like 7.1 imo
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah -- you are right, its a copy pasta error butt fixed it now. I ran the testts with verssion 7 and amended to the same. For some reason when I ran the tests it said engine version 7.1 is not supported.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@meetreks i believe it should be engine version 7. Was trying out awscc provider elasticache serverless resource earlier and it only accepted 7 not 7.1 for major engine version.
Hi @meetreks 👋🏾 , thank you for the contribution! A policy change was made earlier this year that now requires all net-new resources to be written using the Terraform Plugin Framework. Since this is a new resource, it will need to be converted to using the Framework. You can always reference the Contributor Guide when choosing which plugin version to use. The migration guild should help with getting started when moving this SDKv2 resource to Framework. Please reach out if there are any issues. |
@johnsonaj you mean I need to discard the current changes and regen using SDK V2? |
I think it's about migrating from SDK V2 to https://developer.hashicorp.com/terraform/plugin/framework |
Yes I am, but having issues with using tfsdk2fw to scaffold the v1 SDK to use new version of the plugin framework |
Thank you for your contribution! 🚀 Please note that typically Go dependency changes are handled in this repository by dependabot or the maintainers. This is to prevent pull request merge conflicts and further delay reviews of contributions. Remove any changes to the Additional details:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🚀
% make testacc TESTARGS='-run=TestAccElastiCacheServerlessCache_' PKG=elasticache
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/elasticache/... -v -count 1 -parallel 20 -run=TestAccElastiCacheServerlessCache_ -timeout 360m
--- PASS: TestAccElastiCacheServerlessCache_disappears (329.98s)
--- PASS: TestAccElastiCacheServerlessCache_fullRedis (341.09s)
--- PASS: TestAccElastiCacheServerlessCache_basic (343.06s)
--- PASS: TestAccElastiCacheServerlessCache_basicRedis (396.92s)
--- PASS: TestAccElastiCacheServerlessCache_full (420.86s)
--- PASS: TestAccElastiCacheServerlessCache_update (433.63s)
--- PASS: TestAccElastiCacheServerlessCache_tags (480.97s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/elasticache 484.543s
@johnsonaj thanks for your work on this! any idea when this feature will be released? |
@meetreks thank you for the contribution! 🎉 |
@johnsonaj Thanks for your works. Could you tell us when this resource will be released? |
Hi @minhhieu76qng. This resource will be available in this week's release, |
This functionality has been released in v5.32.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! |
I don't think its quite working yet
|
A feature like name_prefix instead of hardcoding a name and having to delete then recreate would be helpful as well. |
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Description
This PR is to add a new resource aws_eelasticache_serverless to the ElasicCache Family.
Relations
Closes #34590
References
Announcement
API Reference
Output from Acceptance Testing
$ make testacc PKG=elasticache TESTS=TestAccServerlessElastiCache_
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/elasticache/... -v -count 1 -parallel 20 -run='TestAccServerlessElastiCache_' -timeout 360m
=== RUN TestAccServerlessElastiCache_basic
=== PAUSE TestAccServerlessElastiCache_basic
=== RUN TestAccServerlessElastiCache_basicRedis
=== PAUSE TestAccServerlessElastiCache_basicRedis
=== RUN TestAccServerlessElastiCache_full
=== PAUSE TestAccServerlessElastiCache_full
=== RUN TestAccServerlessElastiCache_fullRedis
=== PAUSE TestAccServerlessElastiCache_fullRedis
=== RUN TestAccServerlessElastiCache_update
=== PAUSE TestAccServerlessElastiCache_update
=== RUN TestAccServerlessElastiCache_dissapears
=== PAUSE TestAccServerlessElastiCache_dissapears
=== CONT TestAccServerlessElastiCache_basic
=== CONT TestAccServerlessElastiCache_fullRedis
=== CONT TestAccServerlessElastiCache_dissapears
=== CONT TestAccServerlessElastiCache_full
=== CONT TestAccServerlessElastiCache_update
=== CONT TestAccServerlessElastiCache_basicRedis
--- PASS: TestAccServerlessElastiCache_dissapears (351.69s)
--- PASS: TestAccServerlessElastiCache_basic (390.85s)
--- PASS: TestAccServerlessElastiCache_basicRedis (439.94s)
--- PASS: TestAccServerlessElastiCache_full (468.11s)
--- PASS: TestAccServerlessElastiCache_fullRedis (469.44s)
--- PASS: TestAccServerlessElastiCache_update (516.67s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/elasticache 516.814s