Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

Aditya82Ram
Community profile Aditya82Ram Level 1
Job title here
Location here
3 BADGES
Level 1

Level 1

Learn more
Joined the community 21-07-2021 8:03:58 PM
Online
Top badges earned by Aditya82Ram
Customize the badges you want to showcase on your profile
Access S3 using AIO runtime
Avatar
Ignite 1
Level 1
Aditya82Ram
Level 1

Likes

0 likes

Total Posts

4 posts

Correct reply

0 solutions
Top badges earned
Ignite 1
Give Back 3
Give Back
View profile
Aditya82Ram
- Adobe I/O Runtime
I am trying to access a file on S3.This is a POC - the idea is to build the code in JavaScipt, deploy it on AIO and run it.The code uses aws-sdk module and works just fine when running it on my local terminal (using command node .js). I can even deploy the code onto AIO, by creating an action. However, the issue is I am unable to run the code. I am met with this error while trying invoke the action: I have created a templated Firefly project on developer console, configured CLI, workspace etc. a...

Views

41

Likes

0

Replies

1
Re: How can we use modules inside runtime action?
Avatar
Ignite 1
Level 1
Aditya82Ram
Level 1

Likes

0 likes

Total Posts

4 posts

Correct reply

0 solutions
Top badges earned
Ignite 1
Give Back 3
Give Back
View profile
Aditya82Ram
- Adobe I/O Runtime
Alright. I will try this. Thanks!

Views

69

Likes

0

Replies

0
Re: How can we use modules inside runtime action?
Avatar
Ignite 1
Level 1
Aditya82Ram
Level 1

Likes

0 likes

Total Posts

4 posts

Correct reply

0 solutions
Top badges earned
Ignite 1
Give Back 3
Give Back
View profile
Aditya82Ram
- Adobe I/O Runtime
Hi @Naveen_Srinivas, Thank you for sharing this. I will explore further into this.Quick question though: is this approach applicable to non-Adobe products as well? I need to access a file in S3; my JavaScript code requires aws-sdk (instead of aio-sdk, in your case). Does the headless application method you suggested work for any module, or is it specific to only Adobe-related products. Thanks!P.S. Please don't mind if I have incorrectly stated something - I am learning JavaScript on the job!

Views

77

Likes

0

Replies

3
Re: How can we use modules inside runtime action?
Avatar
Ignite 1
Level 1
Aditya82Ram
Level 1

Likes

0 likes

Total Posts

4 posts

Correct reply

0 solutions
Top badges earned
Ignite 1
Give Back 3
Give Back
View profile
Aditya82Ram
- Adobe I/O Runtime
Hi @Naveen_Srinivas, I am facing a similar issue - trying to access S3 files that requires aws-sdk module. I am wondering if packages can be used to circumvent the local dependency issue. I look forward to hearing your take on this. Alternatively please feel free to let me know of any other ideas you may have around this. Cheers!

Views

82

Likes

0

Replies

5
Likes given to