From 3a98069390ccc2462d7700668a275966f211a2c5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ole=20Volds=C3=A6ter?= <ole.voldsater@uib.no>
Date: Wed, 19 May 2021 09:22:55 +0200
Subject: [PATCH] strengere API-tilgang

---
 aws/beta.ordbok.uib.no_stack.yaml | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/aws/beta.ordbok.uib.no_stack.yaml b/aws/beta.ordbok.uib.no_stack.yaml
index 6a856b42..244091ad 100644
--- a/aws/beta.ordbok.uib.no_stack.yaml
+++ b/aws/beta.ordbok.uib.no_stack.yaml
@@ -152,13 +152,9 @@ Resources:
         CacheBehaviors:
           - PathPattern: "/api/dict/*"
             AllowedMethods:
-              - HEAD
-              - DELETE
-              - POST
               - GET
+              - HEAD
               - OPTIONS
-              - PUT
-              - PATCH
             CachePolicyId: !Ref APICachePolicy
             TargetOriginId: OrdbokCache
             LambdaFunctionAssociations:
-- 
GitLab