main.tf 550 B

12345678910111213141516171819202122
  1. provider "aws" {
  2. region = "us-east-1"
  3. profile = "redislabs"
  4. }
  5. module "mymodule" {
  6. source = "../"
  7. profile = "redislabs"
  8. region = "us-east-1"
  9. open-nets = ["192.168.0.127/32"]
  10. data-node-count = 3
  11. vpc-cidr = "10.0.0.0/16"
  12. vpc-subnets = ["subnet-1", "subnet-2"]
  13. vpc-id = "vpc-12345678"
  14. vpc-name = "myvpc"
  15. ssh-key = "test.pem"
  16. vpc-azs = ["us-west-1a", "us-west-1b"]
  17. common-tags = {
  18. "Owner" = "maguec"
  19. "Project" = "example"
  20. }
  21. }