File tree Expand file tree Collapse file tree 5 files changed +62
-67
lines changed
Expand file tree Collapse file tree 5 files changed +62
-67
lines changed Original file line number Diff line number Diff line change 1+ #name: 'Create README.md file'
2+ #on:
3+ # push:
4+ # branches:
5+ # - master
6+ #
7+ #jobs:
8+ # readme-create:
9+ # name: 'readme-create'
10+ # runs-on: ubuntu-latest
11+ # steps:
12+ # - name: 'Checkout'
13+ # uses: actions/checkout@v2.3.4
14+ #
15+ # - name: 'Set up Python 3.7'
16+ # uses: actions/setup-python@v2
17+ # with:
18+ # python-version: '3.x'
19+ #
20+ # - name: 'create readme'
21+ # uses: 'clouddrove/github-actions@v9.0'
22+ # with:
23+ # actions_subcommand: 'readme'
24+ # github_token: '${{ secrets.GITHUB }}'
25+ # env:
26+ # GITHUB_TOKEN: ${{ secrets.CLOUDDROVE_GITHUB_TOKEN }}
27+ #
28+ #
29+ # - name: 'pre-commit check errors'
30+ # uses: pre-commit/action@v2.0.0
31+ # continue-on-error: true
32+ #
33+ # - name: 'pre-commit fix errors'
34+ # uses: pre-commit/action@v2.0.0
35+ # continue-on-error: true
36+ #
37+ # - name: 'push readme'
38+ # uses: 'clouddrove/github-actions@v9.0'
39+ # continue-on-error: true
40+ # with:
41+ # actions_subcommand: 'push'
42+ # env:
43+ # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
44+ #
45+ # - name: 'Slack Notification'
46+ # uses: clouddrove/action-slack@v2
47+ # with:
48+ # status: ${{ job.status }}
49+ # fields: repo,author
50+ # author_name: 'CloudDrove'
51+ # env:
52+ # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # required
53+ # SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_TERRAFORM }} # required
54+ # if: always()
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1414<p align =" center " >
1515
1616<a href =" https://www.terraform.io " >
17- <img src =" https://img.shields.io/badge/Terraform-v0.13 -green " alt =" Terraform " >
17+ <img src =" https://img.shields.io/badge/Terraform-v0.15 -green " alt =" Terraform " >
1818</a >
1919<a href =" LICENSE.md " >
2020 <img src =" https://img.shields.io/badge/License-MIT-blue.svg " alt =" Licence " >
@@ -51,7 +51,7 @@ We have [*fifty plus terraform modules*][terraform_modules]. A few of them are c
5151
5252This module has a few dependencies:
5353
54- - [ Terraform 0.13 ] ( https://learn.hashicorp.com/terraform/getting-started/install.html )
54+ - [ Terraform 0.15 ] ( https://learn.hashicorp.com/terraform/getting-started/install.html )
5555- [ Go] ( https://golang.org/doc/install )
5656- [ github.com/stretchr/testify/assert] ( https://github.com/stretchr/testify )
5757- [ github.com/gruntwork-io/terratest/modules/terraform] ( https://github.com/gruntwork-io/terratest )
@@ -73,11 +73,10 @@ Here is an example of how you can use this module in your inventory structure:
7373``` hcl
7474 module "firewall" {
7575 source = "clouddrove/firewall/digitalocean"
76- version = "0.13 .0"
76+ version = "0.15 .0"
7777 name = "firewall"
78- application = "clouddrove"
7978 environment = "test"
80- label_order = ["environment", "application", " name"]
79+ label_order = ["environment", "name"]
8180 enable_firewall = true
8281 allowed_ip = ["0.0.0.0/0"]
8382 allowed_ports = [22, 80]
Original file line number Diff line number Diff line change @@ -6,8 +6,7 @@ provider "digitalocean" {
66}
77
88module "vpc" {
9- source = " git::https://github.com/terraform-do-modules/terraform-digitalocean-vpc.git?ref=0.15"
10- # version = "0.15.0"
9+ source = " git::https://github.com/terraform-do-modules/terraform-digitalocean-vpc.git?ref=0.15"
1110 name = " vpc"
1211 environment = " test"
1312 label_order = [" environment" , " name" ]
@@ -19,17 +18,15 @@ module "vpc" {
1918
2019
2120module "ssh_key" {
22- source = " git::https://github.com/terraform-do-modules/terraform-digitalocean-ssh-key.git?ref=0.15"
23- # version = "0.15.0"
21+ source = " git::https://github.com/terraform-do-modules/terraform-digitalocean-ssh-key.git?ref=0.15"
2422 key_path = " ~/.ssh/id_rsa.pub"
2523 key_name = " devops"
2624 enable_ssh_key = true
2725}
2826
2927
3028module "droplet" {
31- source = " git::https://github.com/terraform-do-modules/terraform-digitalocean-droplet.git?ref=0.15"
32- # version = "0.15.0"
29+ source = " git::https://github.com/terraform-do-modules/terraform-digitalocean-droplet.git?ref=0.15"
3330 name = " droplet"
3431 environment = " test"
3532 label_order = [" environment" , " name" ]
Original file line number Diff line number Diff line change 88# tags for resources. You can use terraform-labels to implement a strict
99# naming convention.
1010module "labels" {
11- source = " git::https://github.com/terraform-do-modules/terraform-digitalocean-labels.git?ref=0.15"
12- # version = "0.15.0"
11+ source = " git::https://github.com/terraform-do-modules/terraform-digitalocean-labels.git?ref=0.15"
1312 name = var. name
1413 environment = var. environment
1514 label_order = var. label_order
You can’t perform that action at this time.
0 commit comments