Chris Mague 1d51fa5710 make ssh key configurable | 4 gadi atpakaļ | |
---|---|---|
ansible | 5 gadi atpakaļ | |
test | 4 gadi atpakaļ | |
.gitignore | 5 gadi atpakaļ | |
.terraform-version | 4 gadi atpakaļ | |
README.md | 4 gadi atpakaļ | |
inputs.tf | 5 gadi atpakaļ | |
instances.tf | 4 gadi atpakaļ | |
inventory.tpl | 5 gadi atpakaļ | |
main.tf | 4 gadi atpakaļ | |
outputs.tf | 5 gadi atpakaļ | |
provisioning.tf | 4 gadi atpakaļ | |
security.tf | 4 gadi atpakaļ | |
ssh.tpl | 5 gadi atpakaļ | |
variables.tf | 4 gadi atpakaļ |
Sourcing the module:
module "nodes" {
source = "github.com/Redislabs-Solution-Architects/tfmodule-aws-redis-enterprise"
region = var.region
profile = var.profile
open-nets = ["1.1.1.1/32", "8.8.8.8/32"] #external IPs allowed unfettered access - use w/ caution
data-node-count = 3
re-instance-type = "m5.4xlarge"
vpc-cidr = var.vpc-cidr
vpc-azs = var.vpc-azs
vpc-name = var.vpc-name
vpc-id = module.vpc.vpc-id
vpc-subnets = module.vpc.subnets-public
common-tags = { #tags that go everywhere - you do tag everything right?
"Owner" = "maguec"
"Project" = "example_terraform"
}
}