Skip to content

Commit f627238

Browse files
authored
Merge pull request #1 from terraform-do-modules/0.15
upgrade in 0.15
2 parents 3179a69 + 25bb7c0 commit f627238

File tree

8 files changed

+80
-72
lines changed

8 files changed

+80
-72
lines changed

.github/workflows/readme.todo

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
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/[email protected]
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/[email protected]'
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/[email protected]
31+
# continue-on-error: true
32+
#
33+
# - name: 'pre-commit fix errors'
34+
# uses: pre-commit/[email protected]
35+
# continue-on-error: true
36+
#
37+
# - name: 'push readme'
38+
# uses: 'clouddrove/[email protected]'
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()

.github/workflows/readme.yml

Lines changed: 0 additions & 54 deletions
This file was deleted.

.github/workflows/terraform.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,18 @@ jobs:
1313
uses: actions/checkout@master
1414

1515
- name: 'Terraform Format'
16-
uses: 'clouddrove/github-actions@v4.0'
16+
uses: 'clouddrove/github-actions@v9.0.1'
1717
with:
1818
actions_subcommand: 'fmt'
1919

2020
- name: 'Terraform init'
21-
uses: 'clouddrove/github-actions@v4.0'
21+
uses: 'clouddrove/github-actions@v9.0.1'
2222
with:
2323
actions_subcommand: 'init'
2424
tf_actions_working_dir: ./_example
2525

2626
- name: 'Terraform validate'
27-
uses: 'clouddrove/github-actions@v4.0'
27+
uses: 'clouddrove/github-actions@v9.0.1'
2828
with:
2929
actions_subcommand: 'validate'
3030
tf_actions_working_dir: ./_example

.pre-commit-config.yaml

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,21 @@
1-
repos:
2-
- repo: git://github.com/antonbabenko/pre-commit-terraform
3-
rev: v1.43.0
1+
repos:
2+
3+
- repo: https://github.com/gruntwork-io/pre-commit
4+
rev: v0.1.12 # Get the latest from: https://github.com/gruntwork-io/pre-commit/releases
45
hooks:
5-
- id: terraform_fmt
6+
- id: terraform-fmt
7+
- id: shellcheck
8+
- id: tflint
69

7-
- repo: https://github.com/pre-commit/pre-commit-hooks
8-
rev: v3.2.0
10+
- repo: git://github.com/pre-commit/pre-commit-hooks
11+
rev: v4.0.1 # Use the ref you want to point at
912
hooks:
13+
- id: end-of-file-fixer
14+
- id: trailing-whitespace
15+
- id: mixed-line-ending
16+
- id: check-byte-order-marker
17+
- id: check-executables-have-shebangs
1018
- id: check-merge-conflict
19+
- id: debug-statements
1120
- id: check-yaml
1221
- id: check-added-large-files
13-
- id: trailing-whitespace

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2019 Cloud Drove
3+
Copyright (c) 2021 Cloud Drove
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
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">
@@ -60,7 +60,7 @@ Here are examples of how you can use this module in your inventory structure:
6060
```hcl
6161
module "custom_certificate" {
6262
source = "clouddrove/certificate/digitalocean"
63-
version = "0.13.0"
63+
version = "0.15.0"
6464
certificate_name = "test"
6565
private_key = "./../../../_ssl/private-key.pem"
6666
leaf_certificate = "./../../../_ssl/star.crt"
@@ -71,7 +71,7 @@ Here are examples of how you can use this module in your inventory structure:
7171
```hcl
7272
module "lets_encrypt_certificate" {
7373
source = "clouddrove/certificate/digitalocean"
74-
version = "0.13.0"
74+
version = "0.15.0"
7575
certificate_name = "test"
7676
domain_names = ["clouddrove.com"]
7777
lets_encrypt_certificate = true

README.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ github_repo: clouddrove/terraform-digitalocean-ssl-certificate
1616
# Badges to display
1717
badges:
1818
- name: "Terraform"
19-
image: "https://img.shields.io/badge/Terraform-v0.13-green"
19+
image: "https://img.shields.io/badge/Terraform-v0.15-green"
2020
url: "https://www.terraform.io"
2121
- name: "Licence"
2222
image: "https://img.shields.io/badge/License-MIT-blue.svg"
@@ -37,7 +37,7 @@ usage : |-
3737
```hcl
3838
module "custom_certificate" {
3939
source = "clouddrove/certificate/digitalocean"
40-
version = "0.13.0"
40+
version = "0.15.0"
4141
certificate_name = "test"
4242
private_key = "./../../../_ssl/private-key.pem"
4343
leaf_certificate = "./../../../_ssl/star.crt"
@@ -48,7 +48,7 @@ usage : |-
4848
```hcl
4949
module "lets_encrypt_certificate" {
5050
source = "clouddrove/certificate/digitalocean"
51-
version = "0.13.0"
51+
version = "0.15.0"
5252
certificate_name = "test"
5353
domain_names = ["clouddrove.com"]
5454
lets_encrypt_certificate = true

varaibles.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ variable "private_key" {
3131
}
3232

3333
variable "domain_names" {
34-
type = list
34+
type = list(any)
3535
default = []
3636
description = "List of fully qualified domain names (FQDNs) for which the certificate will be issued. The domains must be managed using DigitalOcean's DNS. Only valid when type is lets_encrypt."
3737
}

0 commit comments

Comments
 (0)