File tree Expand file tree Collapse file tree 6 files changed +0
-55
lines changed Expand file tree Collapse file tree 6 files changed +0
-55
lines changed Original file line number Diff line number Diff line change 45
45
TF_VAR_cognito_code_template_id : 12a18f84-062c-4a67-8310-bf114af051ea
46
46
TF_VAR_email_address_contact_us : ${{ vars.STAGING_CONTACT_US_EMAIL }}
47
47
TF_VAR_email_address_support : ${{ vars.STAGING_SUPPORT_EMAIL }}
48
- TF_VAR_load_testing_form_id : ${{ secrets.STAGING_LOAD_TESTING_FORM_ID }}
49
- TF_VAR_load_testing_form_private_key : ${{ secrets.STAGING_LOAD_TESTING_FORM_PRIVATE_KEY }}
50
48
TF_VAR_load_testing_zitadel_app_private_key : ${{ secrets.STAGING_ZITADEL_APPLICATION_KEY }}
51
49
TF_VAR_zitadel_administration_key : ${{ secrets.STAGING_ZITADEL_ADMINISTRATION_KEY }}
52
50
TF_VAR_hcaptcha_site_verify_key : ${{ secrets.STAGING_HCAPTCHA_SITE_VERIFY_KEY }}
Original file line number Diff line number Diff line change 37
37
TF_VAR_cognito_code_template_id : 12a18f84-062c-4a67-8310-bf114af051ea
38
38
TF_VAR_email_address_contact_us : ${{ vars.STAGING_CONTACT_US_EMAIL }}
39
39
TF_VAR_email_address_support : ${{ vars.STAGING_SUPPORT_EMAIL }}
40
- TF_VAR_load_testing_form_id : ${{ secrets.STAGING_LOAD_TESTING_FORM_ID }}
41
- TF_VAR_load_testing_form_private_key : ${{ secrets.STAGING_LOAD_TESTING_FORM_PRIVATE_KEY }}
42
40
TF_VAR_load_testing_zitadel_app_private_key : ${{ secrets.STAGING_ZITADEL_APPLICATION_KEY }}
43
41
TF_VAR_zitadel_administration_key : ${{ secrets.STAGING_ZITADEL_ADMINISTRATION_KEY }}
44
42
TF_VAR_hcaptcha_site_verify_key : ${{ secrets.STAGING_HCAPTCHA_SITE_VERIFY_KEY }}
Original file line number Diff line number Diff line change 47
47
TF_VAR_cognito_code_template_id : 12a18f84-062c-4a67-8310-bf114af051ea
48
48
TF_VAR_email_address_contact_us : ${{ vars.STAGING_CONTACT_US_EMAIL }}
49
49
TF_VAR_email_address_support : ${{ vars.STAGING_SUPPORT_EMAIL }}
50
- TF_VAR_load_testing_form_id : ${{ secrets.STAGING_LOAD_TESTING_FORM_ID }}
51
- TF_VAR_load_testing_form_private_key : ${{ secrets.STAGING_LOAD_TESTING_FORM_PRIVATE_KEY }}
52
50
TF_VAR_load_testing_zitadel_app_private_key : ${{ secrets.STAGING_ZITADEL_APPLICATION_KEY }}
53
51
TF_VAR_zitadel_administration_key : ${{ secrets.STAGING_ZITADEL_ADMINISTRATION_KEY }}
54
52
TF_VAR_hcaptcha_site_verify_key : ${{ secrets.STAGING_HCAPTCHA_SITE_VERIFY_KEY }}
Original file line number Diff line number Diff line change @@ -8,18 +8,6 @@ variable "lambda_submission_function_name" {
8
8
type = string
9
9
}
10
10
11
- variable "load_testing_form_id" {
12
- description = " Form ID that will be used to generate, retrieve and confirm responses."
13
- type = string
14
- sensitive = true
15
- }
16
-
17
- variable "load_testing_form_private_key" {
18
- description = " Private key JSON of the form that will be used to authenticate the API requests. This must be a key from the `var.load_testing_form_id` form."
19
- type = string
20
- sensitive = true
21
- }
22
-
23
11
variable "load_testing_zitadel_app_private_key" {
24
12
description = " Private key JSON of the Zitadel application to perform access token introspection requests."
25
13
type = string
Original file line number Diff line number Diff line change @@ -15,16 +15,6 @@ resource "aws_lambda_function" "load_testing" {
15
15
ignore_changes = [image_uri ]
16
16
}
17
17
18
- environment {
19
- variables = {
20
- LOCUST_RUN_TIME = " 3m"
21
- LOCUST_LOCUSTFILE = " ./tests/locust_test_file.py"
22
- LOCUST_HOST = " https://${ var . domains [0 ]} "
23
- LOCUST_SPAWN_RATE = " 1"
24
- LOCUST_NUM_USERS = " 1"
25
- }
26
- }
27
-
28
18
tracing_config {
29
19
mode = " PassThrough"
30
20
}
@@ -76,10 +66,7 @@ data "aws_iam_policy_document" "load_test_lambda" {
76
66
" ssm:GetParameters" ,
77
67
]
78
68
resources = [
79
- aws_ssm_parameter . load_testing_form_id . arn ,
80
- aws_ssm_parameter . load_testing_form_private_key . arn ,
81
69
aws_ssm_parameter . load_testing_zitadel_app_private_key . arn ,
82
- aws_ssm_parameter . load_testing_submit_form_server_action_id_key . arn ,
83
70
]
84
71
}
85
72
Original file line number Diff line number Diff line change 1
- resource "aws_ssm_parameter" "load_testing_form_id" {
2
- # checkov:skip=CKV_AWS_337: default service encryption key is acceptable
3
- name = " /load-testing/form-id"
4
- description = " Form ID that will be used to generate, retrieve and confirm responses."
5
- type = " SecureString"
6
- value = var. load_testing_form_id
7
- }
8
-
9
- resource "aws_ssm_parameter" "load_testing_form_private_key" {
10
- # checkov:skip=CKV_AWS_337: default service encryption key is acceptable
11
- name = " /load-testing/form-private-key"
12
- description = " Private key JSON of the form that will be used to authenticate the API requests. This must be a key for the `/load-testing/form-id` form."
13
- type = " SecureString"
14
- value = var. load_testing_form_private_key
15
- }
16
-
17
1
resource "aws_ssm_parameter" "load_testing_zitadel_app_private_key" {
18
2
# checkov:skip=CKV_AWS_337: default service encryption key is acceptable
19
3
name = " /load-testing/zitadel-app-private-key"
20
4
description = " Private key JSON of the Zitadel application to perform access token introspection requests."
21
5
type = " SecureString"
22
6
value = var. load_testing_zitadel_app_private_key
23
7
}
24
-
25
- resource "aws_ssm_parameter" "load_testing_submit_form_server_action_id_key" {
26
- # checkov:skip=CKV_AWS_337: default service encryption key is acceptable
27
- name = " /load-testing/submit-form-server-action-id"
28
- description = " NextJS server action identifier associated to 'submitForm' function."
29
- type = " SecureString"
30
- value = " TBD"
31
- }
You can’t perform that action at this time.
0 commit comments