You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
INFO: Uploading app.zip to S3.
aws s3 cp app.zip s3://jss-codedeploy-deployment/ ion-jss-498-becbe869
Invalid endpoint: https://s3. us-east-1.amazonaws.com
✖️ Failed to upload app.zip to S3.
when I use environment variables my pipeline is going through, but when I add those parameters to my deployment variables having this error
G'day.
The error is generally caused by invalid region settings, so can you verify if you've configured your region correctly in the pipe?
That said, I suggest enabling Debug option in the pipe to create a more verbose log. This will give more idea to why it's failing.
You can check the pipe page here to understand how to enable debugging:
script: - pipe: atlassian/aws-s3-deploy:1.1.0 variables: AWS_ACCESS_KEY_ID: $AWS_ACCESS_KEY_ID AWS_SECRET_ACCESS_KEY: $AWS_SECRET_ACCESS_KEY AWS_DEFAULT_REGION: 'us-east-1' S3_BUCKET: 'my-bucket-name/logs' LOCAL_PATH: '$(pwd)'
DEBUG: 'true'
Cheers,
Syahrul
Hi @Syahrul yes I have correct region, and also those variables are working on repository variables but they are not working on deployment variables
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Noted, do you have a chance to enable the debug option and see if there are any specific errors in it?
Debug enable should generate a more in-depth verbose log which should help to identify why the pipe is failing to upload.
That said, you can also try to not set the region as a variable instead define it directly in the pipe and see if that works.
Cheers,
Syahrul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.