Skip to content

Commit

Permalink
precommit changes
Browse files Browse the repository at this point in the history
  • Loading branch information
automaticgiant committed Aug 15, 2024
1 parent 0afc129 commit f9f5425
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ No modules.
| <a name="input_resolver_caching_ttl"></a> [resolver\_caching\_ttl](#input\_resolver\_caching\_ttl) | Default caching TTL for resolvers when caching is enabled | `number` | `60` | no |
| <a name="input_resolver_count_limit"></a> [resolver\_count\_limit](#input\_resolver\_count\_limit) | The maximum number of resolvers that can be invoked in a single request. | `number` | `null` | no |
| <a name="input_resolvers"></a> [resolvers](#input\_resolvers) | Map of resolvers to create | `any` | `{}` | no |
| <a name="input_role_suffix"></a> [role\_suffix](#input\_role\_suffix) | Suffix to append to generated role names | `string` | `""` | no |
| <a name="input_role_suffix"></a> [role\_suffix](#input\_role\_suffix) | value to append to the role name | `string` | `""` | no |
| <a name="input_schema"></a> [schema](#input\_schema) | The schema definition, in GraphQL schema language format. Terraform cannot perform drift detection of this configuration. | `string` | `""` | no |
| <a name="input_secrets_manager_allowed_actions"></a> [secrets\_manager\_allowed\_actions](#input\_secrets\_manager\_allowed\_actions) | List of allowed IAM actions for secrets manager datasources type RELATIONAL\_DATABASE | `list(string)` | <pre>[<br> "secretsmanager:GetSecretValue"<br>]</pre> | no |
| <a name="input_tags"></a> [tags](#input\_tags) | Map of tags to add to all GraphQL resources created by this module | `map(string)` | `{}` | no |
Expand Down
4 changes: 2 additions & 2 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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 = ""
}
6 changes: 3 additions & 3 deletions wrappers/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions wrappers/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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, {})
Expand Down

0 comments on commit f9f5425

Please sign in to comment.