Questions tagged [aws-codestar]

AWS CodeStar is a cloud-based service for creating, managing, and working with software development projects on AWS.

Documentation: AWS CodeStar User Guide

100 questions
1
vote
1 answer

Create Amazon Linux 2 instance via CodeStar

I have created a Java Web application with Elastic Beanstalk using AWS CodeStar. The application works, no problem there. But the EC2 instance the Elastic Beanstalk provisioned is running Amazon Linux 1. I need to have Amazon Linux 2, because some…
1
vote
0 answers

Cannot run Java Spring app generated by Codestar

I am trying to work on Spring boot application using code star. I generated the sample code from the code star and tried running locally before starting. I noticed I do not have the main application to run. I added one. import…
1
vote
1 answer

API call gets blocked once pushed to AWS pipeline

I am doing a project and hosting a website on Amazon Web Service using CodeStar and a node.js web application. I want to implement a simple public API from Nasa using javascript. In cloud9 it works fine but as soon as I push it to my master branch…
1
vote
1 answer

AWS CodeDeploy No such file or directory ROOT.war

I'm trying to create a Java Spring online app using AWS CodeStar. I created a new CodeStar project and the default code was building, deploying and working fine. I copied my project into the CodeStar project folder and pushed the code. The pipeline…
1
vote
2 answers

How to use codestar in a serverless project having a microservice architecture?

I'm totally new with AWS Serverless architecture. I was trying to generate the project architecture, and I read about AWS codestar and how it can Easily create new projects using templates for AWS Lambda using Python (which is my case) But I…
pietà
  • 760
  • 1
  • 11
  • 37
1
vote
1 answer

AWS CodeBuild: Create connection to Bitbucket repository that I have access to but do not own it

I am setting up a CodeBuild project where the source provider is Bitbucket. In order to do so I have to create a Codestar-connection to Bitbucket repository. I can only do so with repositories that I own. It does not list the repositories where I…
1
vote
0 answers

How to retain modified environment variables in elastic beanstalk with CodeStar

I set up a new project using AWS Code Star and I want to pass in environment variables in order to connect to database. When I do that using UI, variables are set correctly and upon reload, application works. However, after pushing code into the…
1
vote
2 answers

Elastic Beanstalk environment lost when using SourceConfiguration

I've created a new WebApplication using Codestar on AWS and generally it's working pretty well. The big problem I've got right now, is that the environment variables which I set inside Beanstalk's software configuration don't persist between…
ZorleQ
  • 1,417
  • 13
  • 23
1
vote
0 answers

How to send mail from JSP page in Spring (AWS Codestar)?

Using AWS Codestar I am trying to send emails directly from JSP but getting errors in every method does anyone have any idea of how to send mail in spring
Rajiv
  • 11
  • 1
1
vote
1 answer

Unable to stage source on AWS Codestar pipeline

I was attempting to change the meta tags on my organization's angular project in the index.html. Our aws pipeline retrieves code from our github repository's master branch. Upon pushing the change, CodeStar on aws fails at the source. We've reverted…
1
vote
1 answer

How do I set environment properties in AWS codestar?

I created a spring project in AWS codestar. I would like to pass environment properties to my application (e.g. DATA_SOURCE_URL). I can do it in elastic beanstalk in "Configuration" -> "Software" "modify" and adding the properties. But whenever a…
pcatre
  • 1,304
  • 2
  • 16
  • 24
1
vote
1 answer

Invoking a Lambda through API-Gateway giving 403 response?

I am using AWS codestar to deploy by react application using serverless nodejs template. This is the url that is given by codestar after successfully completion of all the stages https://xxxxx.execute-api.us-east-1.amazonaws.com/Prod . This url…
Private
  • 1,661
  • 1
  • 20
  • 51
1
vote
0 answers

Codestar pipeline successful but none of my files are in my ec2 instance

I am new to AWS, and am working on an Express app using codestar. I've just spent a lot of time figuring out how codestar works. For the past 12 hours I have encountered a 502 bad gateway error on my deployed site. So after going through these…
1
vote
2 answers

Issues Creating Environments For AWS Lambda Service In CodeStar And CodePipeline

I used AWS CodeStar to create a new application with the "Express.js Aws Lambda Webservice" CodeStar template. This was great because it set me up with a simple CI/CD pipeline using AWS CodePipeline. By default the pipeline has 3 steps for grabbing…
1
vote
1 answer

How do you add JSON data to an HTML AWS lambda response body?

I've run into some trouble with a site I am building. It used AWS lambda functions. I am building and deploying on AWS CodeStar. The site strips the URL parameter (e.g. /BTC), sends that to external API endpoint, which returns some JSON data. I can…