-
Notifications
You must be signed in to change notification settings - Fork 399
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: allow elastic throughput mode for efs #2026
base: main
Are you sure you want to change the base?
Changes from 3 commits
5bde6af
80f340f
cc100d4
ad36fcc
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
--- | ||
minor_changes: | ||
- efs module - added "elastic" throughput mode to allow dynamic adjustment of throughput (https://github.com/ansible-collections/community.aws/issues/1884). |
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -303,6 +303,22 @@ | |||||
that: | ||||||
- efs_result is not changed | ||||||
|
||||||
# ============================================================ | ||||||
- name: Update Efs to use elastic throughput_mode | ||||||
community.aws.efs: | ||||||
state: present | ||||||
name: "{{ efs_name }}-test-efs" | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Looking at the error message from the integration tests, we can't make any more changes to the current volume. (Notice that the "wait until" date is the day after the test was run):
This test will need to be run using a different EFS volume (I'd suggest creating a fresh volume rather than updating this existing one).
Suggested change
(please update the always block to also delete "{{ efs_name }}-test-efs-2") |
||||||
tags: | ||||||
Name: "{{ efs_name }}-test-tag" | ||||||
Purpose: file-storage | ||||||
throughput_mode: 'elastic' | ||||||
register: efs_result | ||||||
|
||||||
- assert: | ||||||
that: | ||||||
- efs_result is changed | ||||||
- efs_result.efs.throughput_mode == "elastic" | ||||||
|
||||||
# ============================================================ | ||||||
- name: Query unknown EFS by tag | ||||||
efs_info: | ||||||
|
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.
Can you please add a sentence like "Support for C(elastic) was added in version 7.1.0."