From 92073d8a4f0c58f980eeaa4927870063ef50644c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ole=20Volds=C3=A6ter?= <ole.voldsater@uib.no>
Date: Thu, 10 Sep 2020 13:36:08 +0200
Subject: [PATCH] capability

---
 .gitlab-ci.yml | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a7ac35b7..ca967bc0 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -21,7 +21,11 @@ deploy:
   - mv  .aws ~/
   - STACK_NAME=ordbok-frontend-beta
   - CERT_ARN=arn:aws:acm:us-east-1:${AWS_ACCOUNT}:certificate/c7078026-d634-462b-86b4-1a6d33ac6d53
-  - aws cloudformation deploy --stack-name ${STACK_NAME} --template-file "aws/beta.ordbok.uib.no_stack.yaml" --parameter-overrides "CertificateArn=${CERT_ARN}" --no-fail-on-empty-changeset
+  - aws cloudformation deploy --stack-name ${STACK_NAME}
+                              --template-file "aws/beta.ordbok.uib.no_stack.yaml"
+                              --parameter-overrides "CertificateArn=${CERT_ARN}"
+                              --no-fail-on-empty-changeset
+                              --capabilities CAPABILITY_IAM
   - aws s3 rm "s3://${STACK_NAME}.aws.uib.no" --recursive
   - aws s3 sync dist/ "s3://${STACK_NAME}.aws.uib.no" --delete
   - DISTRO_ID=$(aws cloudformation describe-stack-resource
-- 
GitLab