-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from Sage-Bionetworks-Workflows/IBCDPE-939-note…
…s-on-connecting [IBCDPE-939] Correcting some issues around permissions and what module contains what
- Loading branch information
Showing
12 changed files
with
209 additions
and
155 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 @@ | ||
* @Sage-Bionetworks-Workflows/dpe |
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,19 @@ | ||
name: tfsec-pr-commenter | ||
on: | ||
pull_request: | ||
jobs: | ||
tfsec: | ||
name: tfsec PR commenter | ||
runs-on: ubuntu-latest | ||
|
||
permissions: | ||
contents: read | ||
pull-requests: write | ||
|
||
steps: | ||
- name: Clone repo | ||
uses: actions/checkout@master | ||
- name: tfsec | ||
uses: aquasecurity/tfsec-pr-commenter-action@v1.2.0 | ||
with: | ||
github_token: ${{ github.token }} |
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
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 |
---|---|---|
@@ -1,28 +1,31 @@ | ||
variable "cluster_name" { | ||
description = "Name of K8 cluster" | ||
type = string | ||
default = "dpe-k8" | ||
} | ||
|
||
variable "region" { | ||
description = "AWS region" | ||
type = string | ||
default = "us-east-1" | ||
} | ||
|
||
variable "spotinst_account" { | ||
description = "Spot.io account" | ||
type = string | ||
default = "act-ac6522b4" | ||
} | ||
|
||
variable "tags" { | ||
description = "AWS Resource Tags" | ||
type = map(string) | ||
default = { | ||
"CostCenter" = "No Program / 000000" | ||
# "kubernetes.io/cluster/tyu-spot-ocean" = "owned", | ||
# "key" = "kubernetes.io/cluster/tyu-spot-ocean", | ||
# "value" = "owned" | ||
} | ||
} | ||
variable "cluster_name" { | ||
description = "Name of K8 cluster" | ||
type = string | ||
default = "dpe-k8" | ||
} | ||
|
||
variable "kube_config_path" { | ||
description = "Kube config path" | ||
type = string | ||
default = "~/.kube/config" | ||
} | ||
|
||
variable "region" { | ||
description = "AWS region" | ||
type = string | ||
default = "us-east-1" | ||
} | ||
|
||
variable "spotinst_account" { | ||
description = "Spot.io account" | ||
type = string | ||
default = "act-ac6522b4" | ||
} | ||
|
||
variable "tags" { | ||
description = "AWS Resource Tags" | ||
type = map(string) | ||
default = { | ||
"CostCenter" = "No Program / 000000" | ||
} | ||
} |
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 |
---|---|---|
@@ -1,8 +1,9 @@ | ||
terraform { | ||
required_providers { | ||
spotinst = { | ||
source = "spotinst/spotinst" | ||
version = "1.172.0" # Specify the version you wish to use | ||
} | ||
} | ||
} | ||
terraform { | ||
required_version = "<= 1.5.7" | ||
required_providers { | ||
spotinst = { | ||
source = "spotinst/spotinst" | ||
version = "1.172.0" # Specify the version you wish to use | ||
} | ||
} | ||
} |
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
Oops, something went wrong.