Giter Club home page Giter Club logo

terraform's Introduction

Terraform

version >= 0.12.*

Create service Principel (Azure)

1. Cloud shell
2. Linux virtual machine
3. Windows virtual machine

Environment variables

Cloud Shell

Here by-default Cloud shell  have terraform and azure authentication.
This is by default access token atteched via your user login 

azure account show

az account show

    {
      ........

      ........
    }

create service principel

az ad sp create-sp-rbac --name jino

  {
    ........

    ........

  }

Linux environment

$ export ARM_CLIENT_ID="xxxxx"
$ export ARM_CLIENT_SECRET="xxxxx"
$ export ARM_SUBSCRIPTION_ID="xxxxx"
$ export ARM_TENANT_ID="xxxxx"

windows environment

$ set ARM_CLIENT_ID="xxxxx"
$ set ARM_CLIENT_SECRET="xxxxx"
$ set ARM_SUBSCRIPTION_ID="xxxxx"
$ set ARM_TENANT_ID="xxxxx"

Raw input specified

provider "azurerm" {

  version = "=2.4.0"
  subscription_id = "xxxxx"
  client_id       = "xxxxx"
  client_secret   = "xxxxx"
  tenant_id       = "xxxxx"
  features {}

}

overview

Directory Description
1 First steps: Launching an EC2 instance
2 Using provisioner
2.1 Using provisioner on a Windows instance
3 Executing script locally
4 Outputting
5 Data Source
6 Modules
7 AWS VPC
8 EC2 instance within VPC with securitygroup
9 EC2 instance with EBS volumes
10 Userdata and cloudinit
11 Route53 (DNS)
12 RDS
13 IAM
14 IAM Roles with S3 bucket
15 Autoscaling
16 Autoscaling with ELB (Elastic Load Balancer)
17 Elastic Beanstalk PHP 7 stack with RDS
18 Interpolations, VPC module
18b Project structure, best practices
packer Build AMIs with Packer
jenkins-packer Demo with jenkins and Packer
docker1 Using ECR - The EC2 Container Registry
docker2 Using ECS - The EC2 Container Service
docker-3 Using ECR/ECS with Jenkins in a complete workflow
module Using ECS + ALB in 4 modules to show how developing terraform modules work

terraform's People

Contributors

four-codes avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.