Posts

Showing posts from April, 2022

Oracle OCI | Terraform

Image
 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++  https://www.youtube.com/watch?v=MjmikFgvKvI&t=3288s Get Started : https://www.youtube.com/watch?v=GIRjciGRDl4&t=19s    Installing Terraform on Windows https://docs.oracle.com/en/solutions/terraform-cloud-infrastructure-ebusiness-suite/ebs-configuring-terraform-windows-systems.html Oracle Documentation Terraform https://docs.oracle.com/en-us/iaas/developer-tutorials/tutorials/tf-provider/01-summary.htm Install Git Bash https://www.youtube.com/watch?v=qdwWe9COT9k https://git-scm.com/downloads  ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ How to work with Terraform https://www.youtube.com/watch?v=GIRjciGRDl4&t=19s 1. First we need to download Terraform - Go to the terraform website and download terraform. After downloading you need to move to a path directory  /usr/local/bin -- is a common path directory file , but you can choose any director...

Terraform : AWS : Terraform on AWS | Section :5 Terraform Loops, Meta Arguments, Splat

 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++      ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 33. Step-01: Implement Variable Lists, Maps and also Meta-Argument  No changes to c1-version.tf   c2-variables.tf We are going to define an instance type whos instance type is going to be list # AWS EC2 Instance Type - List variable " instance_type_list " { description = " EC2 Instnace Type " type = list(string) default = [ " t3.micro " , " t3.small " ] } # AWS EC2 Instance Type - Map variable " instance_type_map " { description = " EC2 Instnace Type " type = map (string) default = { " dev " = " t3.micro " " qa " = " t3.small " " prod " = " t3.large " } } --- variable "instance_type_list" {       description = "EC2  Instance Type"       type ...