-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feat: Updated the terraform version and fixed the tfsec warnings
- Loading branch information
Showing
18 changed files
with
160 additions
and
131 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# These owners will be the default owners for everything in the repo. | ||
* @anmolnagpal @clouddrove/approvers @clouddrove-ci |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
## what | ||
* Describe high-level what changed as a result of these commits (i.e. in plain-english, what do these changes mean?) | ||
* Use bullet points to be concise and to the point. | ||
|
||
## why | ||
* Provide the justifications for the changes (e.g. business case). | ||
* Describe why these changes were made (e.g. why do these commits fix the problem?) | ||
* Use bullet points to be concise and to the point. | ||
|
||
## references | ||
* Link to any supporting jira issues or helpful documentation to add some context (e.g. stackoverflow). | ||
* Use `closes #123`, if this PR closes a Jira issue `#123` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
name: Auto Assign PRs | ||
|
||
on: | ||
pull_request: | ||
types: [opened, reopened] | ||
|
||
workflow_dispatch: | ||
jobs: | ||
assignee: | ||
uses: clouddrove/github-shared-workflows/.github/workflows/auto_assignee.yml@master | ||
secrets: | ||
GITHUB: ${{ secrets.GITHUB }} | ||
with: | ||
assignees: 'clouddrove-ci' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -83,3 +83,4 @@ jobs: | |
|
||
- name: Check Terraform format changes | ||
run: terraform fmt --recursive | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
name: tf-checks | ||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
workflow_dispatch: | ||
jobs: | ||
example: | ||
uses: clouddrove/github-shared-workflows/.github/workflows/tf-checks.yml@master | ||
with: | ||
working_directory: './_example/' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
name: tf-lint | ||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
workflow_dispatch: | ||
jobs: | ||
tflint: | ||
uses: clouddrove/github-shared-workflows/.github/workflows/tf-lint.yml@master | ||
secrets: | ||
GITHUB: ${{ secrets.GITHUB }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
provider "aws" { | ||
region = "eu-west-1" | ||
} | ||
|
||
module "s3_bucket" { | ||
source = "clouddrove/s3/aws" | ||
version = "1.3.0" | ||
|
||
name = "clouddrove-sftp-bucket" | ||
environment = "test" | ||
label_order = ["environment", "name"] | ||
|
||
versioning = true | ||
acl = "private" | ||
force_destroy = true | ||
} | ||
|
||
module "sftp" { | ||
source = "../" | ||
name = "sftp" | ||
environment = "test" | ||
label_order = ["environment", "name"] | ||
|
||
enable_sftp = true | ||
public_key = "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDfjNc4A+atuEBaElnpQqFkBFgGc+kCslpXh/aKETl1Wh95tOy9IWHomegVxKB44OvB5s6I6HFwRa8MCpcAUnW3vD7hBwOv+PgJ0ZFUGYrl71doDHsWtfgoRhrKlhk2jjS7gOZrrYK2vg0859knhrmRQEm6snqFdZ6bLc6R/r0htgtgUx9mESZHfupL/lylOjBiEboQxpo1lp2MKEmksv5q+8A60ZN+mTEj6M4Zmbiw7ypGjcK8utgOyoJ58uWIMt76VW46M6FIGVymwnqBm5PUgThzTPhwVpIc4kTw2Ko1CF4l8fhHNHr698NNTkpol5QvFiBZIgbTGF9RBJyYpGN1XupY4UCrwLBFb5Sigu42lCfb2/wpuAPk5LpoUhdvrDYyzxMdFy0AhIs+3my9D5jNs2rHywoYzcGfrEwi8tLHRqaV+nOI4URk7GenzAQWbUeKwosgSyVv4XnAFrtHMx2oUN5iqAMwFeZH67gw9BkATiF0ZhExCHGILcLZTNJP2N0= anmol@clouddrove-Lenov" | ||
user_name = "ftp-user" | ||
s3_bucket_id = module.s3_bucket.id | ||
endpoint_type = "PUBLIC" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
output "id" { | ||
value = module.sftp[*].id | ||
description = "The Server ID of the Transfer Server (e.g. s-12345678)" | ||
} | ||
|
||
output "tags" { | ||
value = module.sftp.tags | ||
description = "A mapping of tags to assign to the SFTP." | ||
} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.