DevOps Terraform Classroom Series – 18/Sep/2019

Architecture to be realized


AWS side of Architecture

  • Manual Steps:
    • Create VPC with cidr range ‘’
    • Add two subnets to VPC with cidr ranges ‘’ and ‘’
    • Add internet gateway =>
    • Add a route to internet gateway to exisiting or new route table
    • Add a security group for openmrs server => 22,8080 opened for usage
    • create a key value pair
    • create 2 ec2 machine in 2 subnets created above

Using attributes of one resource in arguments of another resource

  • syntax:
  • Note: This is also called as resource dependency
  • Resource Dependecy determines the order of execution of resources

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

About continuous learner

devops & cloud enthusiastic learner