Skip to content
Advertisement

Tag: aws-codepipeline

FileNotFoundException for properties file in aws-cdk

I’ve been trying to read a properties file and want it to be dynamic, I’m doing this in aws-cdk. My project layout: Main Project resources config.properties src main/java/com/myorg xxxstage.java The class xxxstage.java has following code: The line where I’m trying to print System.out.println(“inputStream is -> “+inputStream); is showing null, and hence the FileNotFoundException. It worth noting that this is working

SelfMutate stage failing with CodePipeline

I’m trying to create a CI/CD using CDK pipeline with the import software.amazon.awscdk.pipelines.CodePipeline in Java. This pipeline creates another stack named xxxJavaxxxStack. The pipeline is able to connect to external github, which, when change is detected, triggers the pipeline. In the class xxxPipelinexxxApp.java I’m calling both the stacks xxxJavaxxxStack and xxxPipelinexxxStack. I have successfully been able to cdk synth both

Advertisement