We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d72a802 commit 2500842Copy full SHA for 2500842
buildspec.yml
@@ -21,4 +21,5 @@ phases:
21
commands:
22
- echo "Build completed"
23
- aws ssm get-parameter --name maddy-test --with-decryption --query "Parameter.Value" --output text > private_key.pem
24
+ - chmod 400 private_key.pem # Ensure correct permissions on the private key file
25
- scp -o StrictHostKeyChecking=no -i private_key.pem target/webapp.war ubuntu@44.204.28.186:/home/ubuntu/webapp.war
0 commit comments