Skip to content

Commit

Permalink
fix: Fixed datasource not found in functions (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
vikasgoyal09 authored Apr 21, 2022
1 parent aa35bdd commit b4d121a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/antonbabenko/pre-commit-terraform
rev: v1.64.0
rev: v1.68.1
hooks:
- id: terraform_fmt
- id: terraform_validate
Expand All @@ -23,7 +23,7 @@ repos:
- '--args=--only=terraform_standard_module_structure'
- '--args=--only=terraform_workspace_remote'
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.1.0
rev: v4.2.0
hooks:
- id: check-merge-conflict
- id: end-of-file-fixer
2 changes: 2 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -217,4 +217,6 @@ resource "aws_appsync_function" "this" {

request_mapping_template = lookup(each.value, "request_mapping_template", null)
response_mapping_template = lookup(each.value, "response_mapping_template", null)

depends_on = [aws_appsync_datasource.this]
}

0 comments on commit b4d121a

Please sign in to comment.