Monday, December 20, 2021

Node + Typescript : Typescript + Node

https://stackoverflow.com/questions/36999461/how-to-install-only-devdependencies-using-npm


npm init -y

npm i -D typescript

npx tsc example.ts

node example.js



https://www.youtube.com/watch?v=1UcLoOD1lRM


https://www.youtube.com/watch?v=WBPrJSw7yQA

Terraform : terraform commands

  1. terraform init
  2. terraform plan
  3. terraform apply
  4. terraform destroy

https://www.youtube.com/watch?v=JHiSGnh5Two&list=PLwbWIFE49l8kxe3PLftHFrwIYSfhNxaVZ&index=2

  • .terraform
  • .terraform.lock.hcl
  • terraform.tfstate 
  •  terraform.tfstate.backup


Terraform : TF2

https://registry.terraform.io/providers/hashicorp/aws/latest/docs

https://www.youtube.com/watch?v=JHiSGnh5Two&list=PLwbWIFE49l8kxe3PLftHFrwIYSfhNxaVZ&index=2

https://www.youtube.com/watch?v=SLB_c_ayRMo 

https://www.youtube.com/watch?v=JHiSGnh5Two&list=PLwbWIFE49l8kxe3PLftHFrwIYSfhNxaVZ&index=3

https://www.youtube.com/watch?v=esGezkpzpRo&list=PLwbWIFE49l8kxe3PLftHFrwIYSfhNxaVZ&index=4


resource "aws_instance" "tcw" {

  ami = "ami-0ed9277fb7eb570c9"
  instance_type = "t2.micro"
  tags = {
    Author = "KK"
    ProjectManager = "PM"
    Name = "TCW EC2Instance"
  }
}

resource "aws_ec2_tag" "tcw_nameTag" {
  resource_id = aws_instance.tcw.id
  key = "Name"
  value = "TCW EC2Instance"
}

#Configure the AWS Provider
provider "aws" {
    region = "us-east-1"
}

Terraform : Terraform 1

 


Azure - Pipeline - Add Approver for Stage

https://learn.microsoft.com/en-us/azure/devops/pipelines/process/approvals?view=azure-devops&tabs=check-pass