Skip to content
This repository has been archived by the owner on Mar 11, 2024. It is now read-only.

Commit

Permalink
Merge pull request #2 from grupoboticario/auth_token
Browse files Browse the repository at this point in the history
Auth token
  • Loading branch information
Jean Guandalini authored Dec 2, 2021
2 parents 160c618 + a50533a commit 32a0759
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,9 @@ resource "aws_elasticache_replication_group" "default" {
# https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/in-transit-encryption.html
transit_encryption_enabled = var.transit_encryption_enabled

# The password used to access a password protected server. Can be specified only if transit_encryption_enabled = true
auth_token = var.auth_token == null ? null : var.auth_token

# If true, this parameter causes the modifications in this request and any pending modifications to be applied,
# asynchronously and as soon as possible, regardless of the maintenance_window setting for the replication group.
# apply_immediately applies only to modifications in node type, engine version, and changing the number of nodes in a cluster.
Expand Down
6 changes: 6 additions & 0 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -99,3 +99,9 @@ variable "tags" {
type = map(string)
description = "A mapping of tags to assign to all resources."
}

variable "auth_token" {
default = null
type = string
description = "Access token for CLI."
}

0 comments on commit 32a0759

Please sign in to comment.