diff --git a/Solutions/Gitea/Gitea-pkg.yaml b/Solutions/Gitea/Gitea-pkg.yaml index 4f889210..25ceec1c 100644 --- a/Solutions/Gitea/Gitea-pkg.yaml +++ b/Solutions/Gitea/Gitea-pkg.yaml @@ -132,7 +132,7 @@ Resources: - Key: Name Value: gitea-server UserData: !Base64 - Fn::Sub: "#!/bin/bash\n\nset -eou pipefail\n\nlocal_ip=$(ec2-metadata | grep \"^local-ipv4: \" | cut -d \" \" -f 2)\n\n# Get the password from secrets manager\nsecret_string=$(aws secretsmanager get-secret-value --secret-id ${SecretName} | jq -r \".SecretString\")\n\n# Install cfn-signal\nyum install -y aws-cfn-bootstrap\n\n# Install go\nyum install -y go\n\n# Install nodejs\nyum install -y nodejs\n\n# Clone the repo and build Gitea\nsudo -u ec2-user -i <