Skip to content

Commit 8498bbd

Browse files
authored
misc v0.6.7 fixes (#1313)
* drop lookup buckets from CallerAccess policy * style fixes
1 parent 79a3042 commit 8498bbd

6 files changed

Lines changed: 12 additions & 14 deletions

File tree

infra/modules/aws-host/main.tf

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,6 @@ locals {
493493
caller_has_configured_output_buckets = (
494494
length(var.bulk_connectors) > 0 ||
495495
length(var.webhook_collectors) > 0 ||
496-
length(var.lookup_table_builders) > 0 ||
497496
length([for k, v in var.api_connectors : k if try(v.enable_async_processing, false)]) > 0 ||
498497
length([for k, v in local.sanitized_side_outputs : k if v != null]) > 0
499498
)
@@ -503,7 +502,6 @@ locals {
503502
[for k, v in module.webhook_collectors : v.output_sanitized_bucket_id],
504503
[for k, v in module.api_connector : v.async_output_bucket_id if try(v.async_output_bucket_id, null) != null],
505504
[for k, v in module.api_connector : v.side_output_sanitized_bucket_id if try(v.side_output_sanitized_bucket_id, null) != null],
506-
[for k, v in module.lookup_output : v.output_bucket],
507505
)))
508506

509507
caller_output_bucket_read_resources = flatten([

infra/modules/aws-proxy-bulk/provision_testing_infra.tftest.hcl

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# Plan succeeds with testing IAM/bucket policies enabled and disabled.
22

33
variables {
4-
environment_name = "test"
5-
instance_id = "hris"
6-
aws_account_id = "123456789012"
7-
path_to_function_zip = "../aws-proxy-lambda/tests/deployment.zip"
8-
function_zip_hash = "dummy-hash-for-test"
9-
path_to_instance_ssm_parameters = "PSOXY_TEST_HRIS_"
10-
provision_iam_policy_for_testing = false
11-
aws_principal_arn_when_testing = null
4+
environment_name = "test"
5+
instance_id = "hris"
6+
aws_account_id = "123456789012"
7+
path_to_function_zip = "../aws-proxy-lambda/tests/deployment.zip"
8+
function_zip_hash = "dummy-hash-for-test"
9+
path_to_instance_ssm_parameters = "PSOXY_TEST_HRIS_"
10+
provision_iam_policy_for_testing = false
11+
aws_principal_arn_when_testing = null
1212
aws_write_role_to_assume_when_testing = null
1313
}
1414

infra/modules/gcp-proxy-api/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ resource "google_cloudfunctions2_function" "function" {
291291
iterator = secret_environment_variable
292292

293293
content {
294-
key = secret_environment_variable.key
294+
key = secret_environment_variable.key
295295
# project_id string (not number) avoids apply-time drift: number comes from data.google_project
296296
project_id = var.gcp_project.project_id
297297
secret = secret_environment_variable.value.secret_id

infra/modules/gcp-proxy-bulk/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ resource "google_cloudfunctions2_function" "function" {
251251
iterator = secret_environment_variable
252252

253253
content {
254-
key = secret_environment_variable.key
254+
key = secret_environment_variable.key
255255
# project_id string (not number) avoids apply-time drift: number comes from data.google_project
256256
project_id = var.gcp_project.project_id
257257
secret = secret_environment_variable.value.secret_id

infra/modules/gcp-webhook-collector/ip_lock_conditions.tftest.hcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ variables {
2323
provision_auth_key = {
2424
rotation_days = 30
2525
}
26-
example_identity = "test-user@example.com"
26+
example_identity = "test-user@example.com"
2727

2828
allowed_webhook_ip_blocks = ["10.0.0.0/16"]
2929
}

infra/modules/gcp-webhook-collector/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ resource "google_cloudfunctions2_function" "function" {
367367
iterator = secret_environment_variable
368368

369369
content {
370-
key = secret_environment_variable.key
370+
key = secret_environment_variable.key
371371
# project_id string (not number) avoids apply-time drift: number comes from data.google_project
372372
project_id = var.gcp_project.project_id
373373
secret = secret_environment_variable.value.secret_id

0 commit comments

Comments
 (0)