Skip to content

Commit 2500842

Browse files
authored
Update buildspec.yml
1 parent d72a802 commit 2500842

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

buildspec.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,5 @@ phases:
2121
commands:
2222
- echo "Build completed"
2323
- 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
2425
- scp -o StrictHostKeyChecking=no -i private_key.pem target/webapp.war ubuntu@44.204.28.186:/home/ubuntu/webapp.war

0 commit comments

Comments
 (0)