main.tf 625 B

12345678910111213141516171819202122232425
  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. allow-public-ssh = 1
  17. enable-flash = true
  18. enable-volumes = false
  19. vpc-azs = ["us-west-1a", "us-west-1b"]
  20. common-tags = {
  21. "Owner" = "maguec"
  22. "Project" = "example"
  23. }
  24. }