Skip to content

Commit 4b859e5

Browse files
committed
No more need for eventbridge
1 parent aacb413 commit 4b859e5

10 files changed

+2
-104
lines changed

hpc/resource-provisioner/eventbridge.tf

Lines changed: 0 additions & 27 deletions
This file was deleted.

hpc/resource-provisioner/hpc_resource_provisioner_eventbridge_assume_role_policy.json

Lines changed: 0 additions & 12 deletions
This file was deleted.

hpc/resource-provisioner/hpc_resource_provisioner_eventbridge_policy.tftpl

Lines changed: 0 additions & 32 deletions
This file was deleted.

hpc/resource-provisioner/iam.tf

Lines changed: 0 additions & 15 deletions
This file was deleted.

hpc/resource-provisioner/lambda.tf

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@ resource "aws_lambda_function" "hpc_resource_provisioner_lambda" {
3131
FS_SUBNET_IDS = jsonencode(var.fs_subnet_ids)
3232
FS_SG_ID = var.fs_sg_id
3333
# API_GW_STAGE_ARN = aws_api_gateway_stage.hpc_resource_provisioner_api_stage.arn
34-
API_GW_STAGE_ARN = "arn:aws:execute-api:${var.aws_region}:${var.account_id}:kmlnf84csk/" # TODO: don't hardcode, find a way to do this without a cycle
35-
EVENTBRIDGE_ROLE_ARN = aws_iam_role.resource_provisioner_eventbridge.arn
34+
API_GW_STAGE_ARN = "arn:aws:execute-api:${var.aws_region}:${var.account_id}:kmlnf84csk/" # TODO: don't hardcode, find a way to do this without a cycle
3635
}
3736
}
3837
}

hpc/variables.tf

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -110,12 +110,6 @@ variable "private_alb_https_listener_arn" {
110110
type = string
111111
}
112112

113-
variable "is_hpc_dev" {
114-
type = bool
115-
default = false
116-
sensitive = false
117-
}
118-
119113
variable "sboinfrastructureassets_bucket_name" {
120114
type = string
121115
}

main.tf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,6 @@ module "hpc" {
323323
scratch_bucket = var.hpc_resource_provisioner_scratch_bucket
324324
scratch_bucket_arn = var.hpc_resource_provisioner_scratch_bucket_arn
325325
private_alb_https_listener_arn = local.private_alb_https_listener_arn
326-
is_hpc_dev = true
327326
sboinfrastructureassets_bucket_name = var.sbo_infrastructureassets_bucket
328327
pcluster_ami_id = var.pcluster_ami_id
329328
}

sandbox-hpc.tfvars

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,9 @@ keycloak_task_size = {
5858
memory = 2048
5959
}
6060
coreservices_public_key = "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCy8UW1JdUjIuiiaI+xFId3smXFe6iwxdn6Klqi8y4E+cFHP/uQxW4AuCfJVoOjOQ2CNU0UIGRlCkw3IwUmZvwGjFZS1Vs6jt+KjWiDRdFzQQrz5+vuqPX2576wXlT+EHe0W6r7Qla5i1L6cjz6/E4u5yFZ3MJQSBYjLqXjT7Da4R72gPx9oiIoSH2JBu3vHyfkTEo3l6C+WJlYnUGOLnUxGGGnhJrBKmIRNMmtRNgQlBkPR4mnCAFABJfgpzgNf4bpqLbma5DabQGbvpX6qCLSAV5Zdd4gBQLIAJfS/a5pMWaIy9qDTWB2vy4Z39HI45k6efrLL+xgo+XYSRqn5jDT heeren@Mac"
61-
hpc_resource_provisioner_container_version = "0.5.12.dev5"
61+
hpc_resource_provisioner_container_version = "0.5.12.dev12"
6262
core_web_app_deployment_env = "staging"
6363
core_web_app_next_public_matomo_site_id = "3"
64-
is_hpc_dev = true
6564

6665
# Sandbox placeholders
6766
nise_dockerhub_password = "placeholder"

scripts/terraform_apply_sandbox-hpc.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ terraform apply -auto-approve \
55
-target="module.hpc.module.security" \
66
-target="module.hpc.module.networking" \
77
-target="module.hpc.module.resource-provisioner" \
8-
-target="module.hpc.module.resource-provisioner-dev" \
98
-target="module.hpc.module.dynamodb" \
109
-target="module.hpc.module.efs" \
1110
-target="module.coreservices_key" \

variables-switches.tf

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,3 @@ variable "deployment_env" {
4141
type = string
4242
description = "The deployment environment, values: 'staging', 'production'"
4343
}
44-
45-
variable "is_hpc_dev" {
46-
type = bool
47-
default = false
48-
sensitive = false
49-
}

0 commit comments

Comments
 (0)