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

Environmental Variables set in Buildspec.yml file not showing in Environment when built (AWS Lambda / CodeStar)

First a little bit of background. We are building an application in AWS using CodeStar to control everything. It is being written in Python 3 But despite every attempt we are unable to get the variables we set in the buildspec.yml file to show in…
1
vote
1 answer

Converting an existing Nodejs Express application to a aws serverless App

I have a Nodejs express app using Mongodb, and I want to go serverless. Do I have to write again all my endpoints express with aws Lambda ? How can I convert my mongoose schemas to work with Dynamodb ? I tried to use aws codestar service and found…
1
vote
2 answers

Best way to store AWS IoT credentials on a serverless node instance?

My existing locally hosted server loads its iot identity + credentials like so: function initIot() { var device = awsIot.device({ keyPath: './iot_credentials/ident-private.pem.key', certPath:…
user2912108
  • 737
  • 6
  • 12
1
vote
1 answer

Unable to run rails console/server in AWS Cloud9 CodeStar EB dev Ruby on Rails environment

I created my first environment with CodeStar and selected the Ruby on Rails w/ Elastic Beanstalk option. I'm using AWS Cloud9 for the IDE. I'd like to use the Preview option to view the impact of code changes prior to committing, and have looked…
1
vote
2 answers

Structure of a serverless application

I am new to serverless application. I followed the aws tutorial to build a simple nodejs serverless app with codestar and lambda. However, imagine this node app does multiple things. In consequence, it has mutiple functions inside index.js, one for…
1
vote
1 answer

How does AWS CodeStar SpringBoot Lambda app work?

Can someone please help me understand how the Hello World Java SpringBoot sample created by AWS CodeStar works when its deployed to lambda ? What I cannot seem to understand is :- There is a @SpringBootApplication annotation in the Main…
1
vote
1 answer

How to add a manual deploy to prod step to CodeStar (Lambda + Express)

I'm using the Node.js Express template with AWS Lambda in CodeStar and it all works really well, perfect for my use case, other than I can't seem to stop it from deploying both the staging and production environments with each and every commit of…
Siyfion
  • 979
  • 1
  • 12
  • 32
1
vote
1 answer

AWS Codestar -- Build with node.js module dependencies

I'm using AWS Codestar. It integrates a number of AWS services so that I can go from git push to deployment. It uses cloudformation. I have a lambda function that depends on the uuid npm. How do I include this node dependency in the Codestar build…
stampede76
  • 1,521
  • 2
  • 20
  • 36
1
vote
2 answers

Using AWS CodeStar Python project with JetBrain PyCharm

I'm in the middle of evaluating CodeStar for some python programming on Amazon Lambda functions and have historically used JetBrain PyCharm for my Python development. Eclipse and Visual Studio integration are mentioned directly in the AWS CodeStar…
1
vote
1 answer

AWS Lambda scheduled with CodeStar: SyncResources com.amazon.coral.service.InternalFailure

I'm trying to deploy scheduled AWS Lambda function using CodeStar. I have started from the webserver template of CodeStart and I have modified the template.yml in order to use the scheduled events. AWSTemplateFormatVersion: 2010-09-09 Transform: …
niqui
  • 1,562
  • 1
  • 16
  • 28
1
vote
1 answer

AWS CodeStar - AWS Elastic Beanstalk vs Amazon EC2

I want to create a Spring Boot application but I am not sure about the difference with the 2 options available anf which one I should choose
Nuñito Calzada
  • 4,394
  • 47
  • 174
  • 301
0
votes
0 answers

Is it possible to use an AWS CodeStar connection via the SDK to pull code?

Is it possible to use an existing AWS CodeStar Connection in code to pull a repo outside of using it in CodePipeline? I have a CodeBuild project that I want to trigger via an automated process with different environment variable values, and the only…
Josh Russo
  • 3,080
  • 2
  • 41
  • 62
0
votes
1 answer

Unable to create GitHub Codestar connection to organization (AWS)

We are currently facing an issue creating a GitHub connection to AWS with the following error, despite the fact the owner of the organization is trying to create the connection: You don’t have permission to create the connection. An owner with…
Matti
  • 191
  • 1
  • 14
0
votes
0 answers

How to use dynamic CodeStar connection ARN in CodePipeline source stage?

To integrate GitHub with CodePipeline, I am using CodeStar connections (GitHub Source V2). In CodePipeline source stage, I have to specify the connection ARN. The problem is, the connection ARN contains UUID and not a reusable name. If I have to…
0
votes
2 answers

CodePipeline: Action configuration for action '2ndSource' contains unknown configuration 'PollForSourceChanges'

There is AWS CodePipeline based on two Github source. Requirement is to restrict the pipeline auto trigger for primary source only. Found this snippet from terraform aws samples to disable auto trigger. I tried the same but getting error (Tested…