A company wants to use AWS Systems Manager documents to bootstrap physical laptops for developers The bootstrap code Is stored in GitHub A DevOps engineer has already created a Systems Manager activation, installed the Systems Manager agent with the registration code, and installed an activation ID on all the laptops.
Which set of steps should be taken next?
Configure the Systems Manager Document to Use the aws-downloadContent Plugin with a sourceType of GitHub and sourcelnfo with the Repository Details:
The aws-downloadContent plugin can download content from various sources, including GitHub, which is necessary for bootstrapping the laptops with the code stored in the GitHub repository.
schemaVersion: '2.2'
description: 'Download and run bootstrap script from GitHub'
mainSteps:
- action: aws:downloadContent
name: downloadBootstrapScript
inputs:
sourceType: GitHub
sourceInfo: '{'owner':'my-org','repository':'my-repo','path':'scripts/bootstrap.sh','getOptions':'branch:main'}'
destinationPath: /tmp/bootstrap.sh
- action: aws:runShellScript
name: runBootstrapScript
inputs:
runCommand:
- chmod +x /tmp/bootstrap.sh
- /tmp/bootstrap.sh
This setup ensures that the bootstrap code is downloaded from GitHub and executed on the laptops using Systems Manager.
Noah
9 months agoShenika
9 months agoLindsey
10 months agoEffie
10 months agoKanisha
10 months agoVincenza
10 months agoLeigha
11 months agoXuan
11 months agoRosendo
11 months agoFrance
11 months agoSusy
11 months agoRosendo
11 months agoBrendan
11 months agoPaul
11 months agoKristofer
11 months agoKatheryn
11 months agoSkye
2 years agoRoosevelt
2 years agoNoelia
2 years agoIola
2 years agoLashon
2 years agoJacqueline
2 years agoTatum
2 years agoAlesia
2 years agoAnna
2 years agoVanesa
2 years agoShanda
2 years agoElinore
2 years agoSharika
2 years agoLottie
2 years agoJusta
2 years agoRosalind
2 years agoNaomi
2 years agoDelisa
2 years agoSang
2 years agoNaomi
2 years agoElinore
2 years agoDoretha
2 years agoMarla
2 years agoKip
2 years agoWade
2 years agoAmira
2 years ago