generated from ministryofjustice/template-repository
-
Notifications
You must be signed in to change notification settings - Fork 20
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 #6224 from ministryofjustice/ap-compute-continued-2
🎡 Analytical Platform Compute EKS
- Loading branch information
Showing
9 changed files
with
130 additions
and
35 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,24 @@ | ||
{ | ||
"features": { | ||
"ghcr.io/ministryofjustice/devcontainer-feature/aws:0": { | ||
"version": "0.0.3", | ||
"resolved": "ghcr.io/ministryofjustice/devcontainer-feature/aws@sha256:249e6f164df67ce38c8217c25e52d89ac1267d79536669647eed14fd2609f715", | ||
"integrity": "sha256:249e6f164df67ce38c8217c25e52d89ac1267d79536669647eed14fd2609f715" | ||
"ghcr.io/ministryofjustice/devcontainer-feature/aws:1": { | ||
"version": "1.0.0", | ||
"resolved": "ghcr.io/ministryofjustice/devcontainer-feature/aws@sha256:bb07a76c8e7a6b630a2056ce959addddee436e3f9936c69b9163eff54f58dbd5", | ||
"integrity": "sha256:bb07a76c8e7a6b630a2056ce959addddee436e3f9936c69b9163eff54f58dbd5" | ||
}, | ||
"ghcr.io/ministryofjustice/devcontainer-feature/kubernetes:0": { | ||
"version": "0.0.6", | ||
"resolved": "ghcr.io/ministryofjustice/devcontainer-feature/kubernetes@sha256:f8fdb7e830dbd88a495ec8fe013bd4f99a512f1f83ddef9fbd116b32a0cf3bda", | ||
"integrity": "sha256:f8fdb7e830dbd88a495ec8fe013bd4f99a512f1f83ddef9fbd116b32a0cf3bda" | ||
"ghcr.io/ministryofjustice/devcontainer-feature/kubernetes:1": { | ||
"version": "1.0.1", | ||
"resolved": "ghcr.io/ministryofjustice/devcontainer-feature/kubernetes@sha256:0ec758e44468ba2a8b70b87613762ab04e50f7bb5eac8f2aea592cff213dbde5", | ||
"integrity": "sha256:0ec758e44468ba2a8b70b87613762ab04e50f7bb5eac8f2aea592cff213dbde5" | ||
}, | ||
"ghcr.io/ministryofjustice/devcontainer-feature/static-analysis:0": { | ||
"version": "0.0.3", | ||
"resolved": "ghcr.io/ministryofjustice/devcontainer-feature/static-analysis@sha256:81efa45affc66c168d273817f6f86a64f90715e9482eb7f6e3b33af006a2236c", | ||
"integrity": "sha256:81efa45affc66c168d273817f6f86a64f90715e9482eb7f6e3b33af006a2236c" | ||
"ghcr.io/ministryofjustice/devcontainer-feature/static-analysis:1": { | ||
"version": "1.0.0", | ||
"resolved": "ghcr.io/ministryofjustice/devcontainer-feature/static-analysis@sha256:e81d52725655c8ffb861605feac7ad155b447d51af65f6c3a03cab32d59f1e16", | ||
"integrity": "sha256:e81d52725655c8ffb861605feac7ad155b447d51af65f6c3a03cab32d59f1e16" | ||
}, | ||
"ghcr.io/ministryofjustice/devcontainer-feature/terraform:0": { | ||
"version": "0.0.5", | ||
"resolved": "ghcr.io/ministryofjustice/devcontainer-feature/terraform@sha256:d9915b6c4320f13835ce7fd08887421c9dde1c38a3f17acd303a22f6fdaf5f00", | ||
"integrity": "sha256:d9915b6c4320f13835ce7fd08887421c9dde1c38a3f17acd303a22f6fdaf5f00" | ||
"ghcr.io/ministryofjustice/devcontainer-feature/terraform:1": { | ||
"version": "1.0.0", | ||
"resolved": "ghcr.io/ministryofjustice/devcontainer-feature/terraform@sha256:af3b3891cf31ff373df29998c690257d6f21f2ee4536bc4d692856408ef0c83a", | ||
"integrity": "sha256:af3b3891cf31ff373df29998c690257d6f21f2ee4536bc4d692856408ef0c83a" | ||
} | ||
} | ||
} |
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
16 changes: 16 additions & 0 deletions
16
terraform/environments/analytical-platform-compute/route53-zones.tf
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,16 @@ | ||
# tflint-ignore: terraform_deprecated_interpolation | ||
module "route53_zones" { | ||
#checkov:skip=CKV_TF_1:Module registry does not support commit hashes for versions | ||
#checkov:skip=CKV_TF_2:Module registry does not support tags for versions | ||
|
||
source = "terraform-aws-modules/route53/aws//modules/zones" | ||
version = "2.11.1" | ||
|
||
zones = { | ||
"${local.environment_configuration.route53_zone}" = { | ||
comment = local.environment_configuration.route53_zone | ||
} | ||
} | ||
|
||
tags = local.tags | ||
} |
20 changes: 20 additions & 0 deletions
20
...orm/environments/analytical-platform-compute/src/helm/cluster-autoscaler/values.yml.tftpl
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,20 @@ | ||
--- | ||
autoDiscovery: | ||
cloudProviders: aws | ||
clusterName: ${cluster_name} | ||
tags: | ||
- k8s.io/cluster-autoscaler/enabled | ||
- k8s.io/cluster-autoscaler/${cluster_name} | ||
- kubernetes.io/cluster/${cluster_name} | ||
|
||
awsRegion: ${aws_region} | ||
|
||
cloudProvider: aws | ||
|
||
fullnameOverride: cluster-autoscaler | ||
|
||
rbac: | ||
serviceAccount: | ||
name: cluster-autoscaler | ||
annotations: | ||
eks.amazonaws.com/role-arn: ${eks_role_arn} |