-
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.
- Loading branch information
1 parent
6d74289
commit 00fb9ca
Showing
9 changed files
with
158 additions
and
136 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,25 @@ | ||
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 "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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,72 +1,69 @@ | ||
variable "cluster_name" { | ||
description = "Name of K8 cluster" | ||
type = string | ||
default = "dpe-k8" | ||
} | ||
|
||
variable "cluster_version" { | ||
description = "Version of K8 cluster" | ||
type = string | ||
default = "1.29" | ||
} | ||
|
||
variable "cidr" { | ||
description = "CIDR block for the VPC" | ||
type = string | ||
default = "10.51.0.0/16" | ||
} | ||
|
||
variable "public_subnet_cidrs" { | ||
type = list(string) | ||
description = "Public Subnet CIDR values" | ||
default = ["10.51.1.0/24", "10.51.2.0/24", "10.51.3.0/24"] | ||
} | ||
|
||
variable "private_subnet_cidrs" { | ||
type = list(string) | ||
description = "Private Subnet CIDR values" | ||
default = ["10.51.4.0/24", "10.51.5.0/24", "10.51.6.0/24"] | ||
} | ||
|
||
variable "create_igw" { | ||
description = "Controls if an Internet Gateway is created for public subnets and the related routes that connect them" | ||
type = string | ||
default = "false" | ||
} | ||
|
||
variable "azs" { | ||
|
||
type = list(string) | ||
description = "Availability Zones" | ||
default = ["us-east-1a", "us-east-1b", "us-east-1c"] | ||
|
||
} | ||
|
||
variable "region" { | ||
description = "AWS region" | ||
type = string | ||
default = "us-east-1" | ||
} | ||
|
||
variable "spotinst_account" { | ||
description = "Spot.io account" | ||
type = string | ||
default = "act-ac6522b4" | ||
} | ||
|
||
variable "eks_nodeGroup" { | ||
description = "EKS node group name" | ||
type = string | ||
default = "airflow-node-group" | ||
} | ||
|
||
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 "cluster_version" { | ||
description = "Version of K8 cluster" | ||
type = string | ||
default = "1.29" | ||
} | ||
|
||
variable "cidr" { | ||
description = "CIDR block for the VPC" | ||
type = string | ||
default = "10.51.0.0/16" | ||
} | ||
|
||
variable "public_subnet_cidrs" { | ||
type = list(string) | ||
description = "Public Subnet CIDR values" | ||
default = ["10.51.1.0/24", "10.51.2.0/24", "10.51.3.0/24"] | ||
} | ||
|
||
variable "private_subnet_cidrs" { | ||
type = list(string) | ||
description = "Private Subnet CIDR values" | ||
default = ["10.51.4.0/24", "10.51.5.0/24", "10.51.6.0/24"] | ||
} | ||
|
||
variable "create_igw" { | ||
description = "Controls if an Internet Gateway is created for public subnets and the related routes that connect them" | ||
type = string | ||
default = "false" | ||
} | ||
|
||
variable "azs" { | ||
|
||
type = list(string) | ||
description = "Availability Zones" | ||
default = ["us-east-1a", "us-east-1b", "us-east-1c"] | ||
|
||
} | ||
|
||
variable "region" { | ||
description = "AWS region" | ||
type = string | ||
default = "us-east-1" | ||
} | ||
|
||
variable "spotinst_account" { | ||
description = "Spot.io account" | ||
type = string | ||
default = "act-ac6522b4" | ||
} | ||
|
||
variable "eks_nodeGroup" { | ||
description = "EKS node group name" | ||
type = string | ||
default = "airflow-node-group" | ||
} | ||
|
||
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,7 +1,8 @@ | ||
terraform { | ||
required_providers { | ||
spotinst = { | ||
source = "spotinst/spotinst" | ||
} | ||
} | ||
} | ||
terraform { | ||
required_version = "<= 1.5.7" | ||
required_providers { | ||
spotinst = { | ||
source = "spotinst/spotinst" | ||
} | ||
} | ||
} |