Giter VIP home page Giter VIP logo

terraform-collections's Introduction

terraform-collections

This repository holds Terraform modules created to ease the creation of certain resources of major cloud providers. Modules are local, using Terraform Cloud workspaces for ease. < br/>

Table of contents

  1. Terraform Cloud
  2. Microsoft Azure
  3. Amazon Web Services

---> tf-cloud / tfe_workspaces

Using the following configuration, iterating over the managed-workspaces list TF will create a managed workspace for each of the items in the list, following the next naming convention <cloud-provider>-<list-item[index]>.

For secrets management, this configuration will provide you with a managed variable set, available in your Terraform Cloud organization, with the naming convetion tf-<variable-sets>-vars, the variable set will be attached to all the workspaces that will be created.

cloud_provider     = "aws"
tfc_organization   = "carrello-org"
common_tags        = ["project:aws", "env:sandbox"]
managed_workspaces = ["gitops-infrastructure", "base-tools", "test-infrastructure"]

variable_sets      = ["aws-account"]
varset_description = "Environment variables for AWS access"

variables = {
  variable1 = {
    key       = "AWS_ACCESS_KEY"
    value     = "add-your-value-here"
    category  = "env"
    sensitive = true
  },
  variable2 = {
    ...
  }
}

---> azure / modules

Using the following configuration, this Terraform module will create a Azure Kubernetes Service cluster, as well as a Azure Container Registry, simply by providing the bellow variables:

subscription_id = ""       # Your subscription ID
resource_group  = ""       # Your RSG where the resources will be created

rsg_location = "West US"
registry_sku = "Standard"

aks_nodepool_count = 2
kubernetes_version = "1.23.12"
aks_cluster_name   = "aks-test-lab"
aks_nodepool_size  = "Standard_DS2_v2"

---> aws_ / modules

terraform-collections's People

Contributors

julanu avatar

Watchers

 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.