https://kotlinlang.org logo
#kotless
Title
# kotless
a

aarjav

09/16/2020, 12:26 AM
I'm trying to make a simple-ish website where forms can be submitted publicly, and an admin user can view / search / and do basic crud operations on them. I want to allow users to upload files like images and serve them up as well. I plan to use s3 for static content serving and user uploads, and dynamodb for storing forms / users. I have never deployed anything to aws before or made use of s3 / dynamodb. Do I need to learn terraform to make use of s3 and dynamodb with kotless? Are there any examples projects I can use as a reference? (saw nookbot above)
t

TanVD

09/16/2020, 7:18 AM
You’ll need to create dynamodb and s3, yes :) You can use as an example shortener. See Kotless repo examples/kotless/shortener
m

Mattlangsenkamp

09/16/2020, 4:07 PM
You can create the data stores "by hand" via the AWS console as opposed to terraform though
by data stores I mean S3 and dynamo
I would even argue that it is better to do data stores by hand, as with terraform you risk overwriting or erasing old data by constantly re-creating the resource with every deploy
a

aarjav

09/19/2020, 8:58 PM
m

Mattlangsenkamp

09/19/2020, 9:53 PM
In general I do not believe so, i think it depends on the tfstate
t

TanVD

09/19/2020, 10:03 PM
No, it will create it only once if terraform is configured properly
3 Views