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
RDS Offhours support ? Example RDS Offhours policy ? #1310
Comments
@damdr - I don't have specific experience writing offhour policies, but I do see an offhour filter available for the
Furthermore, you can view the specific schema for the offhours filter like this:
|
@damdr Have you tried it? |
I couldn't get it to work either. There is no error but the filter doesn't select any instance even if tagged correctly. |
Hi, Is there a workaround to the fact special characters (equal, commas, parentheses) are forbidden into some service's tags (for instance : rds). Is that does exists, could you please share some example of configuration ? PS: @MXDP : maybe you could share the tags you used as it could be a part of the solution... Kind regards |
As a workaround we use a custom tag to determine whether an RDS will be acted upon by a policy with explicitly pre-set timezone options.
|
@dlut2 I tried a mondified version of the workaround you suggested above and applied the following tags. However, the lambda is not identifying this RDS instance as I expected. Not quite sure if I am applying the tags correctly. |
Here is the start policy I used.
|
I got this to work by applying a "custom_maid_hours" tag to the RDS instance and used this policy
|
I tried the exact solution from above, and no luck at my end. The logs just say filtered from 1 to 0 rds instances and it doesnt stop the instance. Has there been any other solutions on the above? |
Hi
Is Offhours supported for RDS ?
I find a "rds start/stop actions" commit so i guess yes indeed.
Could this policy works ?
thanks a lot
The text was updated successfully, but these errors were encountered: