Skip to content

Commit

Permalink
Properly pin Terraform providers (cloudposse#68)
Browse files Browse the repository at this point in the history
  • Loading branch information
aknysh authored Jun 29, 2019
1 parent 2ec030f commit 9303dcb
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 25 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

[![Cloud Posse][logo]](https://cpco.io/homepage)

# terraform-aws-dynamic-subnets [![Codefresh Build Status](https://g.codefresh.io/api/badges/pipeline/cloudposse/terraform-modules%2Fterraform-aws-dynamic-subnets?type=cf-1)](https://g.codefresh.io/public/accounts/cloudposse/pipelines/5d02dad8572be040f879f8ed) [![Build Status](https://travis-ci.org/cloudposse/terraform-aws-dynamic-subnets.svg?branch=master)](https://travis-ci.org/cloudposse/terraform-aws-dynamic-subnets) [![Latest Release](https://img.shields.io/github/release/cloudposse/terraform-aws-dynamic-subnets.svg)](https://github.com/cloudposse/terraform-aws-dynamic-subnets/releases/latest) [![Slack Community](https://slack.cloudposse.com/badge.svg)](https://slack.cloudposse.com)
# terraform-aws-dynamic-subnets [![Codefresh Build Status](https://g.codefresh.io/api/badges/pipeline/cloudposse/terraform-modules%2Fterraform-aws-dynamic-subnets?type=cf-1)](https://g.codefresh.io/public/accounts/cloudposse/pipelines/5d02dad8572be040f879f8ed) [![Latest Release](https://img.shields.io/github/release/cloudposse/terraform-aws-dynamic-subnets.svg)](https://github.com/cloudposse/terraform-aws-dynamic-subnets/releases/latest) [![Slack Community](https://slack.cloudposse.com/badge.svg)](https://slack.cloudposse.com)


Terraform module to provision public and private [`subnets`](http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_Subnets.html) in an existing [`VPC`](https://aws.amazon.com/vpc)
Expand Down
3 changes: 0 additions & 3 deletions README.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,6 @@ badges:
- name: "Codefresh Build Status"
image: "https://g.codefresh.io/api/badges/pipeline/cloudposse/terraform-modules%2Fterraform-aws-dynamic-subnets?type=cf-1"
url: "https://g.codefresh.io/public/accounts/cloudposse/pipelines/5d02dad8572be040f879f8ed"
- name: "Build Status"
image: "https://travis-ci.org/cloudposse/terraform-aws-dynamic-subnets.svg?branch=master"
url: "https://travis-ci.org/cloudposse/terraform-aws-dynamic-subnets"
- name: "Latest Release"
image: "https://img.shields.io/github/release/cloudposse/terraform-aws-dynamic-subnets.svg"
url: "https://github.com/cloudposse/terraform-aws-dynamic-subnets/releases/latest"
Expand Down
4 changes: 2 additions & 2 deletions examples/complete/fixtures.us-west-1.tfvars
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ availability_zones = ["us-west-1b", "us-west-1c"]

namespace = "eg"

name = "vpc"

stage = "test"

name = "subnets-vpc-test"
18 changes: 6 additions & 12 deletions examples/complete/main.tf
Original file line number Diff line number Diff line change
@@ -1,23 +1,17 @@
module "vpc" {
source = "git::https://github.com/cloudposse/terraform-aws-vpc.git?ref=tags/0.5.1"

providers = {
aws = "aws"
}
provider "aws" {
region = var.region
}

module "vpc" {
source = "git::https://github.com/cloudposse/terraform-aws-vpc.git?ref=tags/0.7.0"
namespace = var.namespace
stage = var.stage
name = var.name
cidr_block = "172.16.0.0/16"
}

module "subnets" {
source = "../../"

providers = {
aws = "aws"
}

source = "../../"
availability_zones = var.availability_zones
namespace = var.namespace
stage = var.stage
Expand Down
7 changes: 0 additions & 7 deletions examples/complete/versions.tf

This file was deleted.

0 comments on commit 9303dcb

Please sign in to comment.