Skip to content

Commit

Permalink
k8s fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ben851 committed Oct 11, 2024
1 parent db10bc3 commit 262e94b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 34 deletions.
1 change: 1 addition & 0 deletions aws/dev_only_kubernetes_fix/iamfix.tf
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,5 @@ module "eks" {
variable "role_name" {
type = string
description = "The name of the role to create"
default = "AWSReservedSSO_AWSAdministratorAccess_e6e62a284c3c35fc"
}
35 changes: 1 addition & 34 deletions env/dev/dev_only_kubernetes_fix/terragrunt.hcl
Original file line number Diff line number Diff line change
@@ -1,42 +1,9 @@
terraform {
source = "${get_env("ENVIRONMENT") == "production" ? "git::https://github.com/cds-snc/notification-terraform//aws/dns?ref=v${get_env("INFRASTRUCTURE_VERSION")}" : "../../../aws//dns"}"
source = "${get_env("ENVIRONMENT") == "production" ? "git::https://github.com/cds-snc/notification-terraform//aws/dev_only_kubernetes_fix?ref=v${get_env("INFRASTRUCTURE_VERSION")}" : "../../../aws//dev_only_kubernetes_fix"}"
}

dependencies {
paths = ["../common", "../ses_receiving_emails"]
}

dependency "common" {
config_path = "../common"

# Configure mock outputs for the `validate` command that are returned when there are no outputs available (e.g the
# module hasn't been applied yet.
mock_outputs_allowed_terraform_commands = ["validate"]
mock_outputs = {
notification_canada_ca_ses_callback_arn = ""
}
}

dependency "ses_receiving_emails" {
config_path = "../ses_receiving_emails"

# Configure mock outputs for the `validate` command that are returned when there are no outputs available (e.g the
# module hasn't been applied yet.
mock_outputs_allowed_terraform_commands = ["init", "fmt", "validate", "plan", "show"]
mock_outputs_merge_with_state = true
mock_outputs = {
lambda_ses_receiving_emails_image_arn = ""
}
}


include {
path = find_in_parent_folders()
}

inputs = {
notification_canada_ca_ses_callback_arn = dependency.common.outputs.notification_canada_ca_ses_callback_arn
vpc_id = dependency.common.outputs.vpc_id
lambda_ses_receiving_emails_image_arn = dependency.ses_receiving_emails.outputs.lambda_ses_receiving_emails_image_arn
}

0 comments on commit 262e94b

Please sign in to comment.