diff --git a/aws/dev_only_kubernetes_fix/iamfix.tf b/aws/dev_only_kubernetes_fix/iamfix.tf index b793efa3d..b6721fd3f 100644 --- a/aws/dev_only_kubernetes_fix/iamfix.tf +++ b/aws/dev_only_kubernetes_fix/iamfix.tf @@ -32,4 +32,5 @@ module "eks" { variable "role_name" { type = string description = "The name of the role to create" + default = "AWSReservedSSO_AWSAdministratorAccess_e6e62a284c3c35fc" } \ No newline at end of file diff --git a/env/dev/dev_only_kubernetes_fix/terragrunt.hcl b/env/dev/dev_only_kubernetes_fix/terragrunt.hcl index c716ec81b..7db95257a 100644 --- a/env/dev/dev_only_kubernetes_fix/terragrunt.hcl +++ b/env/dev/dev_only_kubernetes_fix/terragrunt.hcl @@ -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 -}