Skip to content

Commit 9ad18af

Browse files
authored
Fix Release (#30)
* resolve tflint complaints * removed tf module workflows * corrected reusable workflows
1 parent 462540e commit 9ad18af

File tree

6 files changed

+37
-50
lines changed

6 files changed

+37
-50
lines changed

.github/workflows/branch.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Branch
2+
on:
3+
pull_request:
4+
branches:
5+
- main
6+
- release/**
7+
types: [opened, synchronize, reopened]
8+
push:
9+
branches:
10+
- main
11+
- release/v*
12+
paths-ignore:
13+
- '.github/**'
14+
- 'docs/**'
15+
- 'examples/**'
16+
- 'test/**'
17+
- 'README.md'
18+
19+
permissions:
20+
contents: write
21+
actions: write
22+
23+
jobs:
24+
github-action:
25+
uses: cloudposse/.github/.github/workflows/shared-github-action.yml@main
26+
secrets: inherit

.github/workflows/release-branch.yml

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

.github/workflows/release-published.yml

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

.github/workflows/scheduled.yml

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

tests/components/terraform/test/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ variable "seed" {
66
resource "random_id" "this" {
77
keepers = {
88
# Generate a new id each time we switch to a new seed
9-
seed = "${var.seed}"
9+
seed = var.seed
1010
}
1111
byte_length = 8
1212
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
terraform {
2+
required_version = ">= 1.0.0"
3+
4+
required_providers {
5+
random = {
6+
source = "hashicorp/random"
7+
version = "3.1.0"
8+
}
9+
}
10+
}

0 commit comments

Comments
 (0)