Envrionment for working with AWS VCFs
-
Ensure Python 3.6+ is installed on your system
-
Create an AWS user for running the VCFs and attach the admin or readonly role.
-
In
.vscode/launch.json
fill in theAWS_CLIENT_ID
andAWS_CLIENT_SECRET
for the VCF user. Or if you have the AWS CLI installed, runaws configure
and leave theAWS_CLIENT_ID
andAWS_CLIENT_SECRET
variables as empty strings. Boto3 will find your default credentials automatically. -
In
init.sh
(Mac/Linux)/init.ps1
(Windows) replace YOUR_BITBUCKET_USER with the name of your Cloud Academy BitBucket user -
Run
init.sh
(Mac/Linux)/init.ps1
(Windows) to set up the environment- Enter your Cloud Academy BitBucket password/app password when prompted.
-
Add the following line to
.gitignore
to avoid committing any sensitive information:.vscode/
-
Develop and debug functions using the
Current File (Integrated Terminal)
configuration (press F5 with the file open)
- Run
init.sh
(Mac/Linux)/init.ps1
(Windows) to set up the virtual environment again. (only thevenv/
directory is impacted by this operation)