Fix typo in AMI provisioning script (#2749)

* chown -> chmod
* Make default version a little newer
This commit is contained in:
Gus Luxton 2019-05-28 20:25:32 -03:00 committed by GitHub
parent 0b5bff73b6
commit 30946414ad
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -14,7 +14,7 @@ MARKETPLACE_AMI_NAME ?=
AWS_REGION ?= us-west-2
# Teleport version
TELEPORT_VERSION ?= 3.1.7
TELEPORT_VERSION ?= 3.2.4
# Teleport UID is the UID of a non-privileged 'teleport' user
TELEPORT_UID ?= 1007

View file

@ -25,7 +25,7 @@ source /etc/teleport.d/conf
echo ${LOCAL_HOSTNAME} > /var/lib/teleport/host_uuid
chown -R teleport:adm /var/lib/teleport
touch /etc/teleport.yaml
chown 664 /etc/teleport.yaml
chmod 664 /etc/teleport.yaml
# Use letsencrypt by default unless we are explicitly using ACM here
if [[ "${USE_ACM}" != "true" ]]; then