Skip to content
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

Add preferred az support in elasticcache replication group #2

Conversation

adubkov
Copy link

@adubkov adubkov commented Aug 7, 2015

This PR add support of preferred AZs in elasticache replication group.

Example of usage:

resource "aws_elasticache_replication_group" "redis" {
    replication_group_id = "${concat(var.epop, \"-redis\")}"
    description = "test-sjc-redis"
    engine = "redis"
    cache_node_type = "cache.m3.medium"
    num_cache_clusters = 2
    automatic_failover = true
    subnet_group_name = "${aws_elasticache_subnet_group.redis.name}"
    security_group_ids = ["${aws_security_group.redis.id}"]

    preferred_cache_cluster_azs = [
        "us-west-1a",
        "us-west-1c",
    ]

    depends_on = [
        "aws_elasticache_subnet_group.redis",
        "aws_security_group.redis"
    ]
}

saulshanabrook added a commit that referenced this pull request Aug 7, 2015
…erred-az

Add preferred az support in elasticcache replication group
@saulshanabrook saulshanabrook merged commit 2dff6aa into saulshanabrook:master Aug 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants