Skip to content

token #22

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ resource "aws_elasticache_replication_group" "default" {
# apply_immediately applies only to modifications in node type, engine version, and changing the number of nodes in a cluster.
# Other modifications, such as changing the maintenance window, are applied immediately.
# https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/Clusters.Modify.html
auth_token = var.auth_token != "" ? var.auth_token : null

apply_immediately = var.apply_immediately

# A user-created description for the replication group.
Expand Down
6 changes: 6 additions & 0 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,12 @@ variable "transit_encryption_enabled" {
description = "Whether to enable encryption in transit."
}

variable "auth_token" {
type = string
description = "The password used to access a password protected server. Can be specified only if `transit_encryption_enabled = true`."
default = ""
}

variable "apply_immediately" {
default = false
type = bool
Expand Down