I'm encountering an error during the assets stage of my CI/CD pipeline. The error message indicates a problem with missing AWS credentials while running the cdk-assets command, the code build and self mutate steps before this works fine. 
Why am i getting this issue "Missing credentials in config" in Assets stage of code pipeline?
39 Views Asked by Kedhar At
1
There are 1 best solutions below
Related Questions in AMAZON-WEB-SERVICES
- S3 integration testing
- How to get content of BLOCK types LAYOUT_TITLE, LAYOUT_SECTION_HEADER and LAYOUT_xx in Textract
- Error **net::ERR_CONNECTION_RESET** error while uploading files to AWS S3 using multipart upload and Pre-Signed URL
- Failed to connect to your instance after deploying mern app on aws ec2 instance when i try to access frontend
- AWS - Tab Schema Conversion don't show up after creating a Migration Project
- Unable to run Bash Script using AWS Custom Lambda Runtime
- Using Amazon managed Prometheus to get EC2 metrics data in Grafana
- AWS Dns record A not navigate to elb
- Connection timed out error with smtp.gmail.com
- AWS Cognito Multi-tenant Integration | Ok to use Client’s Idp?
- Elasticbeanstalk FastAPI application is intermittently not responding to https requests
- Call an External API from AWS Lambda
- Why my mail service api spring isnt working?
- export 'AWSIoTProvider' (imported as 'AWSIoTProvider') was not found in '@aws-amplify/pubsub'
- How to take first x seconds of Audio from a wav file read from AWS S3 as binary stream using Python?
Related Questions in CICD
- While Running Github Actions Pipeline: No Signing Certificate "iOS Development" found: No "iOS Development" signing certificate matching team ID
- Shellscript touch command not working in jenkins pipeline
- Jenkins Docker Agent Configuration Issue: Connection Refused on Local Ubuntu Install
- Can you dynamically set a docker image LABEL to a git commit value when building an image with packer?
- Jenkins pipeline script: Accept merge request from Gitlab
- Unable to use env variable from prd environment context
- NodeJS [Errno 13] Permission denied - Azure DevOps pipleline AWS Lambda deployment
- Created Jenkins pipeline and added the script in the Pipeline Description.To check out the Project from the svn repository.NotWorking. Any Suggestion
- GitLab release-job creates a release where asset is artifacts.zip instead of concrete file
- Getting " Unauthorized Access" error in Git Actions(CI) when trying to run Fastlane(CD)
- avoid duplicated job in the gitlab-ci
- Can't figure out why the pipeline does not run
- Integrate Deployment status to Work Items in TFS
- pytest command used in gitlab CICD pipeline does not automatically pick test_* script and throws error "CoverageWarning: No data was collected."
- Jenkins install docker
Related Questions in AWS-CODEPIPELINE
- How to change S3 object owner while using CodeDeploy, to upload objects, from a different AWS account?
- Error building a dotnet project on AWS codebuild
- Getting 404 while Adding CodeDeploy agent in AWS EC2 Instance
- Reading an Environment Variable set at CodePipeline from a CodeBuild buildspec.yml
- Why am i getting this issue "Missing credentials in config" in Assets stage of code pipeline?
- Passing Variables from CodeBuild or CodePipeline to use in Node Web App
- AWS: Setting up a CodeDeploy pipeline for ECS blue-green deployment from ECR
- testcafe ERROR Unable to open the "chrome:headless" browser
- Triggering AWS codepipeline with regex matching tag push with terraform
- How to skip a build stage in AWS CodeBuild - batch/build-graph
- AWS CDK CodePipeline S3 Source set Detection Option to Cloudwatch
- AWS S3 BucketDeployment zip file name for CodePipeline Issue
- How I can place a timestamp into my deployed filename upon deployment?
- How to set the repository domain policy so a Gradle-based Build pipeline can access AWS CodeArtifact?
- AWS Codepipeline python submodule manual build works pipeline auto trigger giving error GIT_DISCOVERY_ACROSS_FILESYSTEM not set
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
I ran into a similar issue but just got this resolved. If you're using a CICD pipeline to publish assets into a different account, for example in a beta/prod setup, you need to make sure that the "file-publishing" role grants access to the AWS account which the CodePipeline is deployed in.
My problem was that my prod account did not grant assume role access to the beta account (which is the account that has the pipeline). Thus, the pipeline was unable to write to the prod account's S3 bucket.
It's annoying that the error isn't an STS Assume Role error, because they don't give us that much information in this error message, but that was the fix for me (simply manually updating the trust policy).