-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Eugene Istrati
committed
Apr 26, 2024
1 parent
29dd9ce
commit 0621010
Showing
8 changed files
with
70 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
q = { | ||
name = "spf-cicd-pipeline" | ||
description = "SPF CICD PIPELINE" | ||
build_timeout = 60 | ||
file = "buildspec.yml.tftpl" | ||
compute_type = "BUILD_GENERAL1_LARGE" | ||
type = "ARM_CONTAINER" | ||
image = "aws/codebuild/amazonlinux2-aarch64-standard:3.0" | ||
image_pull_credentials_type = "CODEBUILD" | ||
privileged_mode = true | ||
cw_group_name_prefix = "/aws/codebuild" | ||
retention_in_days = 5 | ||
skip_destroy = true | ||
s3_logs_status = "ENABLED" | ||
s3_logs_location = "codebuild" | ||
s3_cache_location = "cache" | ||
} |
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
q = { | ||
name = "spf-cicd-assume-role" | ||
description = "SPF CICD ASSUME ROLE" | ||
path = "/" | ||
policy_arn = "arn:aws:iam::aws:policy/AdministratorAccess" | ||
} |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
q = { | ||
name = "spf-cicd-pipeline-role" | ||
description = "SPF CICD PIPELINE ROLE" | ||
path = "/service-role/" | ||
} |
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
q = { | ||
name = "spf-fraud" | ||
force_delete = true | ||
image_tag_mutability = "MUTABLE" | ||
encryption_type = "KMS" | ||
scan_on_push = true | ||
} |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
q = { | ||
name = "spf-lambda-fraud-role" | ||
description = "Allows spf-fraud Lambda function to call AWS services" | ||
path = "/" | ||
} |
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
q = { | ||
name = "spf-fraud" | ||
description = "SPF FRAUD" | ||
package_type = "Image" | ||
architecture = "arm64" | ||
memory_size = 128 | ||
timeout = 15 | ||
publish = false | ||
storage_size = 512 | ||
tracing_mode = "PassThrough" | ||
reserved = 20 | ||
logging = "INFO" | ||
|
||
secrets_manager_ttl = 300 | ||
cw_group_name_prefix = "/aws/lambda" | ||
retention_in_days = 5 | ||
skip_destroy = true | ||
} |
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
q = { | ||
bucket = "spf-runtime" | ||
force_destroy = true | ||
object_lock_enabled = true | ||
object_lock_mode = "COMPLIANCE" | ||
object_lock_days = 36500 | ||
object_lock_retain = "2345-12-31T23:59:59Z" | ||
sse_algorithm = "AES256" # "aws:kms" | ||
versioning_status = "Enabled" | ||
logs_prefix = "s3_runtime_logs" | ||
} |