Skip to content

Commit a1d46a0

Browse files
authored
feat(ssm-secrets): add support for extra config options (#45)
* feat(ssm-secrets): add support for extra config options Add support for passing `parameter_store_paths`, `resources`, `serviceAccount`, and `rbac` options to the external_ssm_secrets module. This enables more flexible configuration of the secrets operator, including custom RBAC and service account settings. * chore: remove comma
1 parent 7f607a7 commit a1d46a0

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

src/main.tf

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,15 @@ module "external_ssm_secrets" {
128128

129129
values = compact([
130130
yamlencode({
131-
region = var.region
131+
region = var.region
132+
parameter_store_paths = var.parameter_store_paths
133+
resources = var.resources
134+
serviceAccount = {
135+
name = module.this.name
136+
}
137+
rbac = {
138+
create = var.rbac_enabled
139+
}
132140
})
133141
])
134142

0 commit comments

Comments
 (0)