Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,644,493
Community Members
 
Community Events
196
Community Groups

Hi can anyone help me to solve this error

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

1 answer

1 accepted

0 votes
Answer accepted
Syahrul
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Oct 04, 2022

Hi @Abu Bakir Uralov 

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

Syahrul
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Oct 11, 2022

Hey @Abu Bakir Uralov 

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

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events