@@ -13,7 +13,7 @@ There are just a few things you have to do to set this up:
1313
1414### Create secrets in AWS Secrets Manager
1515Create a secret in Secrets Manager for each of the FSxN file systems you want to manage with
16- this script. Each secret should have the key value pairs. One that specifies the
16+ this script. Each secret should have two key value pairs. One that specifies the
1717user account to use when issuing API calls, and the other that specifies the password for
1818that account. Note that if you use the same username and password, it is okay
1919to use the same secret for multiple file systems.
@@ -63,15 +63,15 @@ is a dictionary with the following keys:
6363- secretsManagerRegion - Defines the region where your secrets are stored.
6464- autoSizeMode - Defines the auto size mode you want to set the volume to. Valid values are:
6565 - grow - The volume will automatically grow when it reaches the grow threshold.
66- - grow_shrink - The volume will automatically grow and shrink when it eachs the shrink threshold.
66+ - grow_shrink - The volume will automatically grow, and shrink when it reachs the shrink threshold.
6767 - off - The volume will not automatically grow or shrink.
6868- growThresholdPercentage - The percentage of the volume that must be used before the volume will grow.
6969- maxGrowSizePercentage - The maximum size the volume can auto grow to expressed in terms of a percentage of the volume size. The default is 200%.
7070- shrinkThresholdPercentage - The percentage of the volume that must be used before the volume will shrink.
7171- minShrinkSizePercentage - The minimum size the volume can auto shrink to expressed in terms of a percentage of the volume size. The default is 50%.
7272- maxWaitTime - The maximum time, in seconds, the script will wait for the volume to be created before it will give up and exit.
7373
74- ** NOTE:** Do not delete the variables or set them to None or empty
74+ ** NOTE:** Do not delete the variables or set them to None or empty
7575strings, as the script will not run properly if done so.
7676
7777Once you have updated the program, click on the "Deploy" button.
@@ -83,7 +83,7 @@ same time, it may have to wait a while for the volume to get created on the ONTA
8383it can set the auto size mode.
8484
8585### Create an Event Bridge Rule (a.k.a. CloudWatch Event) that will trigger when a FSx Volume is created
86- Once on the "Event Bridge" page, click on Rules on the left hand side. From there click
86+ Once on the "Event Bridge" page, click on Rules on the left- hand side. From there click
8787on Create Rule. Give the rule a name, and make sure to put the rule on the "Default" bus.
8888Finally select "Rule with an event pattern" and click Next.
8989
0 commit comments