26 lines
699 B
Bash
Executable file
26 lines
699 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
#
|
|
# // Software Name : AWSTerraformStarterKit
|
|
# // SPDX-FileCopyrightText: Copyright (c) 2023 Orange Business
|
|
# // SPDX-License-Identifier: BSD-3-Clause
|
|
# //
|
|
# // This software is distributed under the BSD License;
|
|
# // see the LICENSE file for more details.
|
|
# //
|
|
# // Author: AWS Practice Team <awspractice.core@orange.com>
|
|
#
|
|
|
|
set -o errexit -o nounset -o pipefail
|
|
|
|
# Set Starterkit version
|
|
STARTER_KIT_VERSION="v0.0.1"
|
|
|
|
curl -L\
|
|
"https://github.com/Orange-OpenSource/AWSTerraformStarterKit/archive/refs/tags/${STARTER_KIT_VERSION}.zip" \
|
|
-o /tmp/archive.zip
|
|
|
|
unzip /tmp/archive.zip -d .
|
|
cp -r AWSTerraformStarterKit-*/. .
|
|
rm -rf AWSTerraformStarterKit-*
|
|
rm /tmp/archive.zip
|