Skip to content

Commit

Permalink
dns testing
Browse files Browse the repository at this point in the history
  • Loading branch information
morga471 committed Sep 19, 2024
1 parent a134643 commit ed6cee0
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 9 deletions.
2 changes: 1 addition & 1 deletion lab/us-gov-east-1/vpc/_mcmCluster/eks/terragrunt.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ locals {
}

terraform {
source = "git@github.e.it.census.gov:SCT-Engineering/tfmod-eks.git"
source = "git@github.e.it.census.gov:SCT-Engineering/tfmod-eks.git?ref=dnsv2"
extra_arguments "retry_lock" {
commands = get_terraform_commands_that_need_locking()
arguments = ["-lock-timeout=20m"]
Expand Down
19 changes: 11 additions & 8 deletions lab/us-gov-east-1/vpc/_mcmCluster/terragrunt.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -75,14 +75,17 @@ remote_state {
if_exists = "overwrite_terragrunt"
}
config = {
bucket = "${local.state_bucket_prefix}-${local.account_id}"
dynamodb_table = "${local.state_table_name}"
key = "${trimprefix(replace(run_cmd("realpath", get_original_terragrunt_dir()), dirname(get_repo_root()), ""), "/")}"
profile = "${local.profile}"
region = "${local.region}"
skip_bucket_enforced_tls = true
skip_bucket_root_access = true
skip_bucket_ssencryption = true
bucket = "${local.state_bucket_prefix}-${local.account_id}"
dynamodb_table = "${local.state_table_name}"
key = "${trimprefix(replace(run_cmd("realpath", get_original_terragrunt_dir()), dirname(get_repo_root()), "apps/tg"), "/")}/terraform.tfstate"
profile = "${local.profile}"
region = "${local.region}"
skip_bucket_enforced_tls = true # use only if you need to access the S3 bucket without TLS being enforced
skip_bucket_public_access_blocking = true
skip_bucket_root_access = true # use only if the AWS account root user should not have access to the remote state bucket for some reason
skip_bucket_ssencryption = true # use only if non-encrypted OpenTofu/Terraform State is required and/or the object store does not support server-side encryption
skip_bucket_versioning = false # use only if the object store does not support versioning
enable_lock_table_ssencryption = false # use only if non-encrypted DynamoDB Lock Table for the OpenTofu/Terraform State is required and/or the NoSQL database service does not support server-side encryption
}
}

Expand Down

0 comments on commit ed6cee0

Please sign in to comment.