-
Notifications
You must be signed in to change notification settings - Fork 2
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 #373 from i-dot-ai/EN-501/migrate_key_modules
Use versioned terraform modules (alb, waf, s3, ecs)
- Loading branch information
Showing
3 changed files
with
20 additions
and
10 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
module "app_bucket" { | ||
# checkov:skip=CKV_SECRET_4:Skip secret check as these have to be used within the Github Action | ||
name = "${local.name}-data" | ||
source = "../../i-ai-core-infrastructure//modules/s3" | ||
state_bucket = var.state_bucket | ||
log_bucket = data.terraform_remote_state.platform.outputs.log_bucket | ||
kms_key = data.terraform_remote_state.platform.outputs.kms_key_arn | ||
source_ips = concat(var.internal_ips, var.developer_ips) | ||
# checkov:skip=CKV_TF_1: We're using semantic versions instead of commit hash | ||
#source = "../../i-dot-ai-core-terraform-modules//modules/infrastructure/s3" # For testing local changes | ||
source = "git::https://github.com/i-dot-ai/i-dot-ai-core-terraform-modules.git//modules/infrastructure/s3?ref=v1.0.0-s3" | ||
name = "${local.name}-data" | ||
state_bucket = var.state_bucket | ||
log_bucket = data.terraform_remote_state.platform.outputs.log_bucket | ||
kms_key = data.terraform_remote_state.platform.outputs.kms_key_arn | ||
source_ips = concat(var.internal_ips, var.developer_ips) | ||
} |