-
Notifications
You must be signed in to change notification settings - Fork 31
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
Add a apiary_logs_retention_days variable that sets the retention_day… #154
base: master
Are you sure you want to change the base?
Add a apiary_logs_retention_days variable that sets the retention_day… #154
Conversation
…s of the apiary cloudwatch log group. The default is 30 days.
CHANGELOG.md
Outdated
@@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. | |||
|
|||
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). | |||
|
|||
## [6.1.2] - TBD | |||
### Added | |||
- Added apiary_logs_retention_days variable that sets the default retention period of the apiary cloudwatch group. The default is 30 days. |
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 we name the variable apiary_cloudwatch_logs_retention_days? to avoid confusion with s3 logs retention
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.
ok, makes sense. updating.
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.
Does the same apply here? ExpediaGroup/apiary-federation#75 (review)
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.
I can't say. For me adding cloudwatch in the name only makes sense for apiary-data-lake but you may want to make variable names consistent accross the different components.
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.
Agree with @rpoluri about the name of the variable. Elsewhere through the code, "logs" refers to s3 logs.
Otherwise looks good.
CHANGELOG.md
Outdated
@@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. | |||
|
|||
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). | |||
|
|||
## [6.1.2] - TBD | |||
### Added | |||
- Added apiary_cloudwatch_logs_retention_days variable that sets the default retention period of the apiary cloudwatch group. The default is 30 days. |
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.
- Added apiary_cloudwatch_logs_retention_days variable that sets the default retention period of the apiary cloudwatch group. The default is 30 days. | |
- Added `apiary_cloudwatch_logs_retention_days` variable that sets the default retention period of the Apiary CloudWatch group. The default is 30 days. |
CHANGELOG.md
Outdated
@@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. | |||
|
|||
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). | |||
|
|||
## [6.1.2] - TBD |
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.
Could go with 6.2.0 as this is a new feature rather than a bugfix.
VARIABLES.md
Outdated
@@ -10,6 +10,7 @@ | |||
| apiary_domain_name | Apiary domain name for Route 53. | string | `` | no | | |||
| apiary_log_bucket | Bucket for Apiary logs. | string | - | yes | | |||
| apiary_log_prefix | Prefix for Apiary logs. | string | `` | no | | |||
| apiary_cloudwatch_logs_retention_days | Log retention in days for the Apiary ECS cloudwatch log group. | string | `30` | no | |
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.
| apiary_cloudwatch_logs_retention_days | Log retention in days for the Apiary ECS cloudwatch log group. | string | `30` | no | | |
| apiary_cloudwatch_logs_retention_days | Log retention in days for the Apiary ECS CloudWatch log group. | string | `30` | no | |
variables.tf
Outdated
@@ -60,6 +60,12 @@ variable "apiary_log_prefix" { | |||
default = "" | |||
} | |||
|
|||
variable "apiary_cloudwatch_logs_retention_days" { | |||
description = "Log retention in days for the Apiary ECS cloudwatch log group." |
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.
description = "Log retention in days for the Apiary ECS cloudwatch log group." | |
description = "Log retention in days for the Apiary ECS CloudWatch log group." |
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.
I think CHANGELOG.md got modified once or twice since you opened this PR, so the version number and date will need updating, but otherwise, looks good.
…s of the apiary cloudwatch log group. The default is 30 days.