Skip to content

Commit

Permalink
Merge pull request #2 from terraform-do-modules/0.15
Browse files Browse the repository at this point in the history
fix readme
  • Loading branch information
sohanyadav committed Aug 9, 2021
2 parents f57fb00 + 05d4159 commit 8f215ba
Show file tree
Hide file tree
Showing 6 changed files with 68 additions and 69 deletions.
54 changes: 54 additions & 0 deletions .github/workflows/readme.doto
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
#name: 'Create README.md file'
#on:
# push:
# branches:
# - master
#
#jobs:
# readme-create:
# name: 'readme-create'
# runs-on: ubuntu-latest
# steps:
# - name: 'Checkout'
# uses: actions/checkout@v2.3.4
#
# - name: 'Set up Python 3.7'
# uses: actions/setup-python@v2
# with:
# python-version: '3.x'
#
# - name: 'create readme'
# uses: 'clouddrove/github-actions@v9.0'
# with:
# actions_subcommand: 'readme'
# github_token: '${{ secrets.GITHUB }}'
# env:
# GITHUB_TOKEN: ${{ secrets.CLOUDDROVE_GITHUB_TOKEN }}
#
#
# - name: 'pre-commit check errors'
# uses: pre-commit/action@v2.0.0
# continue-on-error: true
#
# - name: 'pre-commit fix errors'
# uses: pre-commit/action@v2.0.0
# continue-on-error: true
#
# - name: 'push readme'
# uses: 'clouddrove/github-actions@v9.0'
# continue-on-error: true
# with:
# actions_subcommand: 'push'
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
#
# - name: 'Slack Notification'
# uses: clouddrove/action-slack@v2
# with:
# status: ${{ job.status }}
# fields: repo,author
# author_name: 'CloudDrove'
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # required
# SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_TERRAFORM }} # required
# if: always()
54 changes: 0 additions & 54 deletions .github/workflows/readme.yml

This file was deleted.

11 changes: 5 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<p align="center">

<a href="https://www.terraform.io">
<img src="https://img.shields.io/badge/Terraform-v0.13-green" alt="Terraform">
<img src="https://img.shields.io/badge/Terraform-v0.15-green" alt="Terraform">
</a>
<a href="LICENSE.md">
<img src="https://img.shields.io/badge/License-MIT-blue.svg" alt="Licence">
Expand Down Expand Up @@ -51,7 +51,7 @@ We have [*fifty plus terraform modules*][terraform_modules]. A few of them are c

This module has a few dependencies:

- [Terraform 0.13](https://learn.hashicorp.com/terraform/getting-started/install.html)
- [Terraform 0.15](https://learn.hashicorp.com/terraform/getting-started/install.html)
- [Go](https://golang.org/doc/install)
- [github.com/stretchr/testify/assert](https://github.com/stretchr/testify)
- [github.com/gruntwork-io/terratest/modules/terraform](https://github.com/gruntwork-io/terratest)
Expand All @@ -72,12 +72,11 @@ This module has a few dependencies:
Here is an example of how you can use this module in your inventory structure:
```hcl
module "firewall" {
source = "clouddrove/firewall/digitalocean"
version = "0.13.0"
source = "terraform-do-modules/firewall/digitalocean"
version = "0.15.0"
name = "firewall"
application = "clouddrove"
environment = "test"
label_order = ["environment", "application", "name"]
label_order = ["environment", "name"]
enable_firewall = true
allowed_ip = ["0.0.0.0/0"]
allowed_ports = [22, 80]
Expand Down
2 changes: 1 addition & 1 deletion README.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ usage : |-
Here is an example of how you can use this module in your inventory structure:
```hcl
module "firewall" {
source = "clouddrove/firewall/digitalocean"
source = "terraform-do-modules/firewall/digitalocean"
version = "0.15.0"
name = "firewall"
environment = "test"
Expand Down
12 changes: 6 additions & 6 deletions _example/example.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ provider "digitalocean" {
}

module "vpc" {
source = "git::https://github.com/terraform-do-modules/terraform-digitalocean-vpc.git?ref=0.15"
#version = "0.15.0"
source = "terraform-do-modules/vpc/digitalocean"
version = "0.15.0"
name = "vpc"
environment = "test"
label_order = ["environment", "name"]
Expand All @@ -19,17 +19,17 @@ module "vpc" {


module "ssh_key" {
source = "git::https://github.com/terraform-do-modules/terraform-digitalocean-ssh-key.git?ref=0.15"
#version = "0.15.0"
source = "terraform-do-modules/ssh-key/digitalocean"
version = "0.15.0"
key_path = "~/.ssh/id_rsa.pub"
key_name = "devops"
enable_ssh_key = true
}


module "droplet" {
source = "git::https://github.com/terraform-do-modules/terraform-digitalocean-droplet.git?ref=0.15"
#version = "0.15.0"
source = "terraform-do-modules/droplet/digitalocean"
version = "0.15.0"
name = "droplet"
environment = "test"
label_order = ["environment", "name"]
Expand Down
4 changes: 2 additions & 2 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
# tags for resources. You can use terraform-labels to implement a strict
# naming convention.
module "labels" {
source = "git::https://github.com/terraform-do-modules/terraform-digitalocean-labels.git?ref=0.15"
#version = "0.15.0"
source = "terraform-do-modules/labels/digitalocean"
version = "0.15.0"
name = var.name
environment = var.environment
label_order = var.label_order
Expand Down

0 comments on commit 8f215ba

Please sign in to comment.