Skip to content

eshnil2000/clusterinthecloud-terraform

 
 

Repository files navigation

Terraform configuration for Cluster in the Cloud

https://cluster-in-the-cloud.readthedocs.io

Changes required:

variables.tf

# AWS Information
variable "region" {
  default = "us-west-1"
}

security-groups.tf

resource "aws_security_group" "mgmt" {
  name        = "citc-mgmt-${local.cluster_id}"
  description = "Management node"
  vpc_id      = aws_vpc.vpc_network.id

  ingress {
    from_port   = 22
    to_port     = 22
    protocol    = "tcp"
    cidr_blocks = ["YOUR.IP.ADDRESS/32"]
  }

After install script complete, add Management Instance IP address to the security group (created manually) of the Packer instance:

sudo /usr/local/bin/run-packer
sudo -i
/root/run_ansible --skip-tags=packer

useful references:

About

Terraform config for Cluster in the Cloud

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HCL 63.3%
  • Python 20.0%
  • Shell 11.8%
  • Makefile 3.0%
  • Smarty 1.9%