-
Notifications
You must be signed in to change notification settings - Fork 7
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 #39 from AlexNabokikh/recusive
feat(#38): add recursive option
- Loading branch information
Showing
7 changed files
with
320 additions
and
15 deletions.
There are no files selected for viewing
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,82 @@ | ||
variable "kubernetes_pipeline_roles" { | ||
description = "IAM roles for pipelines required access to EKS." | ||
type = list(object({ | ||
rolearn = string | ||
namespaces = list(string) | ||
})) | ||
default = [] | ||
} | ||
|
||
|
||
|
||
|
||
variable "kubernetes_pipeline_users" { | ||
description = "IAM users for pipelines required access to EKS." | ||
type = list(object({ | ||
userarn = string | ||
namespaces = list(string) | ||
})) | ||
default = [] | ||
} | ||
|
||
|
||
variable "external_dns_additional_managed_zones" { | ||
description = "Additional managed zones for external-dns." | ||
type = list(string) | ||
default = [] | ||
} | ||
|
||
variable "aws-profile" { | ||
description = "The aws profile name, used when creating the kubeconfig file." | ||
} | ||
|
||
variable "additional_userdata" { | ||
default = "" | ||
} | ||
|
||
|
||
|
||
|
||
terraform { | ||
required_version = ">= 0.12" | ||
} | ||
|
||
|
||
|
||
|
||
variable "eks_shared_namespaces" { | ||
description = "Namespaces to be shared between teams." | ||
type = map(list(string)) | ||
default = { | ||
dns = ["external-dns"] | ||
infra = ["infra-shared"] | ||
logging = ["logging"] | ||
monitoring = ["infra-monitoring"] | ||
ingress = ["infra-ingress"] | ||
argo = ["argo"] | ||
newrelic = ["newrelic"] | ||
} | ||
} | ||
|
||
output "hardened-image-id" { | ||
description = "The AMI ID of the hardened image." | ||
value = data.aws_ami.hardened.id | ||
} | ||
|
||
|
||
|
||
locals { | ||
kubernetes_pipeline_roles = [ | ||
for role in var.kubernetes_pipeline_roles : { | ||
rolearn = role.rolearn | ||
namespaces = role.namespaces | ||
} | ||
] | ||
} | ||
|
||
|
||
|
||
output "private_key_name" { | ||
description = "The name of the private key made to share." | ||
value = module.account.private_key_name | ||
} |
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,82 @@ | ||
variable "kubernetes_pipeline_roles" { | ||
description = "IAM roles for pipelines required access to EKS." | ||
type = list(object({ | ||
rolearn = string | ||
namespaces = list(string) | ||
})) | ||
default = [] | ||
} | ||
|
||
|
||
|
||
|
||
variable "kubernetes_pipeline_users" { | ||
description = "IAM users for pipelines required access to EKS." | ||
type = list(object({ | ||
userarn = string | ||
namespaces = list(string) | ||
})) | ||
default = [] | ||
} | ||
|
||
|
||
variable "external_dns_additional_managed_zones" { | ||
description = "Additional managed zones for external-dns." | ||
type = list(string) | ||
default = [] | ||
} | ||
|
||
variable "aws-profile" { | ||
description = "The aws profile name, used when creating the kubeconfig file." | ||
} | ||
|
||
variable "additional_userdata" { | ||
default = "" | ||
} | ||
|
||
|
||
|
||
|
||
terraform { | ||
required_version = ">= 0.12" | ||
} | ||
|
||
|
||
|
||
|
||
variable "eks_shared_namespaces" { | ||
description = "Namespaces to be shared between teams." | ||
type = map(list(string)) | ||
default = { | ||
dns = ["external-dns"] | ||
infra = ["infra-shared"] | ||
logging = ["logging"] | ||
monitoring = ["infra-monitoring"] | ||
ingress = ["infra-ingress"] | ||
argo = ["argo"] | ||
newrelic = ["newrelic"] | ||
} | ||
} | ||
|
||
output "hardened-image-id" { | ||
description = "The AMI ID of the hardened image." | ||
value = data.aws_ami.hardened.id | ||
} | ||
|
||
|
||
|
||
locals { | ||
kubernetes_pipeline_roles = [ | ||
for role in var.kubernetes_pipeline_roles : { | ||
rolearn = role.rolearn | ||
namespaces = role.namespaces | ||
} | ||
] | ||
} | ||
|
||
|
||
|
||
output "private_key_name" { | ||
description = "The name of the private key made to share." | ||
value = module.account.private_key_name | ||
} |
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,82 @@ | ||
variable "kubernetes_pipeline_roles" { | ||
description = "IAM roles for pipelines required access to EKS." | ||
type = list(object({ | ||
rolearn = string | ||
namespaces = list(string) | ||
})) | ||
default = [] | ||
} | ||
|
||
|
||
|
||
|
||
variable "kubernetes_pipeline_users" { | ||
description = "IAM users for pipelines required access to EKS." | ||
type = list(object({ | ||
userarn = string | ||
namespaces = list(string) | ||
})) | ||
default = [] | ||
} | ||
|
||
|
||
variable "external_dns_additional_managed_zones" { | ||
description = "Additional managed zones for external-dns." | ||
type = list(string) | ||
default = [] | ||
} | ||
|
||
variable "aws-profile" { | ||
description = "The aws profile name, used when creating the kubeconfig file." | ||
} | ||
|
||
variable "additional_userdata" { | ||
default = "" | ||
} | ||
|
||
|
||
|
||
|
||
terraform { | ||
required_version = ">= 0.12" | ||
} | ||
|
||
|
||
|
||
|
||
variable "eks_shared_namespaces" { | ||
description = "Namespaces to be shared between teams." | ||
type = map(list(string)) | ||
default = { | ||
dns = ["external-dns"] | ||
infra = ["infra-shared"] | ||
logging = ["logging"] | ||
monitoring = ["infra-monitoring"] | ||
ingress = ["infra-ingress"] | ||
argo = ["argo"] | ||
newrelic = ["newrelic"] | ||
} | ||
} | ||
|
||
output "hardened-image-id" { | ||
description = "The AMI ID of the hardened image." | ||
value = data.aws_ami.hardened.id | ||
} | ||
|
||
|
||
|
||
locals { | ||
kubernetes_pipeline_roles = [ | ||
for role in var.kubernetes_pipeline_roles : { | ||
rolearn = role.rolearn | ||
namespaces = role.namespaces | ||
} | ||
] | ||
} | ||
|
||
|
||
|
||
output "private_key_name" { | ||
description = "The name of the private key made to share." | ||
value = module.account.private_key_name | ||
} |
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.