GithubHelp home page GithubHelp logo

isabella232 / terraform-provider-fakewebservices Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hashicorp/terraform-provider-fakewebservices

0.0 0.0 0.0 53 KB

Makefile 0.69% Go 96.11% Shell 3.20%

terraform-provider-fakewebservices's Introduction

Terraform "Fake Web Services" Provider

This provider provisions "resources" to a fictitious cloud provider, "Fake Web Services" - used in the TFC Getting Started project.

These resources are purely for demonstration and created in Terraform Cloud, scoped to your TFC user account.

Installation & Usage

This provider isn't really intended for any use beyond the example configuration, but you can absolutely use it outside the example if you like!

Example:

terraform {
  required_providers {
    fakewebservices = "~> 0.1"
  }
}

provider "fakewebservices" {
  token = var.provider_token
}

resource "fakewebservices_vpc" "primary_vpc" {
  name = "Primary VPC"
  cidr_block = "0.0.0.0/1"
}

resource "fakewebservices_server" "servers" {
  count = 2

  name = "Server ${count.index+1}"
  type = "t2.micro"
  vpc = fakewebservices_vpc.primary_vpc.name
}

resource "fakewebservices_load_balancer" "primary_lb" {
  name = "Primary Load Balancer"
  servers = fakewebservices_server.servers[*].name
}

resource "fakewebservices_database" "prod_db" {
  name = "Production DB"
  size = 256
}

terraform-provider-fakewebservices's People

Contributors

chrisarcand avatar mikenomitch avatar paultyng 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.