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
3 months agoShenika
3 months agoLindsey
3 months agoEffie
4 months agoKanisha
4 months agoVincenza
4 months agoLeigha
4 months agoXuan
4 months agoRosendo
5 months agoFrance
5 months agoSusy
5 months agoRosendo
5 months agoBrendan
5 months agoPaul
5 months agoKristofer
5 months agoKatheryn
5 months agoSkye
1 year agoRoosevelt
1 year agoNoelia
1 year agoIola
1 year agoLashon
1 year agoJacqueline
1 year agoTatum
2 years agoAlesia
1 year agoAnna
1 year agoVanesa
1 year agoShanda
2 years agoElinore
2 years agoSharika
2 years agoLottie
1 year 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
1 year agoKip
2 years agoWade
2 years agoAmira
2 years ago