Skip to content

classification integration resources#486

Merged
sivan-hajbi-imperva merged 3 commits into
devfrom
classification_integration_resources
Aug 11, 2025
Merged

classification integration resources#486
sivan-hajbi-imperva merged 3 commits into
devfrom
classification_integration_resources

Conversation

@sivan-hajbi-imperva

Copy link
Copy Markdown
Collaborator

No description provided.


resource "aws_s3_bucket" "scan_results_bucket" {
count = var.create_classification_integration_resources ? 1 : 0
bucket = join("-", [local.deployment_name_salted, "scan", "results", "bucket"])

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you rename it to fam_scan_results_bucket? also, there should be a unique identifier and Im not sure the deployment_name_salted is unique... also, I'll put the identifier in the end

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can change the name, it salt should make it unique.
In dsfkit we always put the deployment_name_salted at the beginning.


resource "aws_sqs_queue" "scan_results_bucket_notifications_sqs" {
count = var.create_classification_integration_resources ? 1 : 0
name = join("-", [local.deployment_name_salted, "scan", "results", "bucket", "notifications", "sqs"])

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please add fam in the beginning, and if you can move the deployment salt to the end it will be also great

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same.
I can change the name, it salt should make it unique.
In dsfkit we always put the deployment_name_salted at the beginning.


resource "aws_iam_policy" "classification_integration_policy" {
count = var.create_classification_integration_resources ? 1 : 0
name = join("-", [local.deployment_name_salted, "classification", "integration", "policy"])

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same comment as above regarding the fam and the deployment salt

@sivan-hajbi-imperva sivan-hajbi-imperva merged commit 19bf54b into dev Aug 11, 2025
1 check passed
@sivan-hajbi-imperva sivan-hajbi-imperva deleted the classification_integration_resources branch August 11, 2025 10:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants