Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- getting this:
- Error: "replication_group_id": conflicts with subnet_group_name
- on ../modules/redis/main.tf line 62, in resource "aws_elasticache_cluster" "cluster":
- 62: resource "aws_elasticache_cluster" "cluster" {
- resource "aws_elasticache_cluster" "cluster" {
- cluster_id = "redis-test-cluster"
- replication_group_id = "${aws_elasticache_replication_group.redis_group.id}"
- subnet_group_name = "${aws_elasticache_subnet_group.sub_gr.name}"
- }
- resource "aws_elasticache_subnet_group" "sub_gr" {
- name = "${var.environment}"
- description = "ElastiCache subnet group for ${var.environment}"
- subnet_ids = ["${var.subnet_id}"]
- }
- resource "aws_elasticache_replication_group" "redis_group" {
- ILL OMIT alot of stuff here, just for the sake of the group name
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement