diff --git a/README.md b/README.md index 87b23b7..46da354 100644 --- a/README.md +++ b/README.md @@ -211,7 +211,7 @@ No modules. | [resolver\_caching\_ttl](#input\_resolver\_caching\_ttl) | Default caching TTL for resolvers when caching is enabled | `number` | `60` | no | | [resolver\_count\_limit](#input\_resolver\_count\_limit) | The maximum number of resolvers that can be invoked in a single request. | `number` | `null` | no | | [resolvers](#input\_resolvers) | Map of resolvers to create | `any` | `{}` | no | -| [role\_suffix](#input\_role\_suffix) | Suffix to append to generated role names | `string` | `""` | no | +| [role\_suffix](#input\_role\_suffix) | value to append to the role name | `string` | `""` | no | | [schema](#input\_schema) | The schema definition, in GraphQL schema language format. Terraform cannot perform drift detection of this configuration. | `string` | `""` | no | | [secrets\_manager\_allowed\_actions](#input\_secrets\_manager\_allowed\_actions) | List of allowed IAM actions for secrets manager datasources type RELATIONAL\_DATABASE | `list(string)` |
[
"secretsmanager:GetSecretValue"
]
| no | | [tags](#input\_tags) | Map of tags to add to all GraphQL resources created by this module | `map(string)` | `{}` | no | diff --git a/variables.tf b/variables.tf index 5dc9a4c..d20b56d 100644 --- a/variables.tf +++ b/variables.tf @@ -341,6 +341,6 @@ variable "resolver_count_limit" { variable "role_suffix" { description = "value to append to the role name" - type = string - default = "" + type = string + default = "" } diff --git a/wrappers/README.md b/wrappers/README.md index 109bf78..6857ef7 100644 --- a/wrappers/README.md +++ b/wrappers/README.md @@ -12,9 +12,9 @@ This wrapper does not implement any extra functionality. ```hcl terraform { - source = "tfr:///terraform-aws-modules/appsync/aws//wrappers" + source = "tfr:///terraform-aws-modules/lint/aws//wrappers" # Alternative source: - # source = "git::git@github.com:terraform-aws-modules/terraform-aws-appsync.git//wrappers?ref=master" + # source = "git::git@github.com:terraform-aws-modules/terraform-aws-lint.git//wrappers?ref=master" } inputs = { @@ -42,7 +42,7 @@ inputs = { ```hcl module "wrapper" { - source = "terraform-aws-modules/appsync/aws//wrappers" + source = "terraform-aws-modules/lint/aws//wrappers" defaults = { # Default values create = true diff --git a/wrappers/main.tf b/wrappers/main.tf index 947f113..2aaecbd 100644 --- a/wrappers/main.tf +++ b/wrappers/main.tf @@ -68,6 +68,7 @@ module "wrapper" { resolver_caching_ttl = try(each.value.resolver_caching_ttl, var.defaults.resolver_caching_ttl, 60) resolver_count_limit = try(each.value.resolver_count_limit, var.defaults.resolver_count_limit, null) resolvers = try(each.value.resolvers, var.defaults.resolvers, {}) + role_suffix = try(each.value.role_suffix, var.defaults.role_suffix, "") schema = try(each.value.schema, var.defaults.schema, "") secrets_manager_allowed_actions = try(each.value.secrets_manager_allowed_actions, var.defaults.secrets_manager_allowed_actions, ["secretsmanager:GetSecretValue"]) tags = try(each.value.tags, var.defaults.tags, {})