We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8eb5183 commit b7c841aCopy full SHA for b7c841a
main.tf
@@ -182,6 +182,15 @@ resource "aws_elasticache_replication_group" "default" {
182
replicas_per_node_group = var.cluster_mode_enabled ? var.cluster_mode_replicas_per_node_group : null
183
user_group_ids = var.user_group_ids
184
185
+ # When importing an aws_elasticache_replication_group resource the attribute
186
+ # security_group_names is imported as null. More details:
187
+ # https://github.com/hashicorp/terraform-provider-aws/issues/32835
188
+ lifecycle {
189
+ ignore_changes = [
190
+ security_group_names,
191
+ ]
192
+ }
193
+
194
depends_on = [
195
aws_elasticache_parameter_group.default
196
]
0 commit comments