Skip to content

Commit 0d2eff2

Browse files
authored
feat: add elastic_ip parameter (#55)
1 parent 3bcd407 commit 0d2eff2

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ resource "aws_redshift_cluster" "this" {
3030
cluster_parameter_group_name = local.parameter_group_name
3131

3232
publicly_accessible = var.publicly_accessible
33+
elastic_ip = var.elastic_ip
3334

3435
# Restore from snapshot
3536
snapshot_identifier = var.snapshot_identifier

variables.tf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,3 +221,9 @@ variable "max_concurrency_scaling_clusters" {
221221
type = string
222222
default = "1"
223223
}
224+
225+
variable "elastic_ip" {
226+
description = "(Optional) The Elastic IP (EIP) address for the cluster."
227+
type = string
228+
default = null
229+
}

0 commit comments

Comments
 (0)