This repository has been archived by the owner on Sep 5, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from trussworks/cblkwell-release-cleanup
Cleanup for tf12; remove environment var; add arbitrary tags
- Loading branch information
Showing
5 changed files
with
62 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,43 @@ | ||
variable "cloudwatch_logs_retention_days" { | ||
default = 90 | ||
description = "Number of days to keep logs in AWS CloudWatch." | ||
type = "string" | ||
type = string | ||
} | ||
|
||
variable "environment" { | ||
description = "Environment tag, e.g prod." | ||
variable "doc_url" { | ||
default = "https://example.com" | ||
description = "URL for documentation on how to rotate keys." | ||
type = string | ||
} | ||
|
||
variable "interval_minutes" { | ||
default = 1440 | ||
description = "How often to check IAM Access Keys." | ||
type = "string" | ||
type = string | ||
} | ||
|
||
variable "s3_bucket" { | ||
description = "The name of the S3 bucket used to store the Lambda builds." | ||
type = "string" | ||
type = string | ||
} | ||
|
||
variable "version_to_deploy" { | ||
description = "The version the Lambda function to deploy." | ||
type = "string" | ||
type = string | ||
} | ||
|
||
variable "ssm_slack_webhook_url" { | ||
description = "Name of the Slack webhook url parameter in Parameter Store." | ||
type = "string" | ||
type = string | ||
} | ||
|
||
variable "slack_channel" { | ||
description = "Slack channel to send alert to" | ||
type = "string" | ||
type = string | ||
} | ||
|
||
variable "tags" { | ||
default = {} | ||
description = "Map of additional tags to apply to resources; 'Name' tag automatically applied." | ||
type = map(string) | ||
} |