Code commit + Code pipeline and AppConfig as deployment

0

Hi, We want to using code pipelines. The source of data is codecommit and we want to deploy via APPConfig. While creating pipeline, we need to enter Input artifact configuration path. I am not getting what to be entered as input artificats stage. My code commit repository only contains .json files which directly needs to be deployed. Build stage is not required at all. I even created sample .zip file and uploaded on S3 and entered path of that. Still failed.

1 Answer
0

The artifact name will be config.json in CodeCommit.
For example, if you have config.json in the config directory in CodeCommit, you need to specify "config/config.json".
https://docs.aws.amazon.com/codepipeline/latest/userguide/action-reference-AppConfig.html

The file path of the configuration data within the input artifact to deploy.

profile picture
EXPERT
answered a year ago
  • Thanks. This works. If i want to have multiple files in config folder and also multiple directories, how to add artifact file so that it picks up the changes. Also lets say i have two files in code commit under config directory. ConfigA.json, ConfigB.json and i only change configb.json, so would the app config pick only one change or it would pick the complete repository.

  • I'll have to try it out, but I think I can only specify one config.json, so it will only pick up one change.

  • Apart from this. Can you also check if I need to bundle this entire with code build so that that can encapsulate this as single artifact file and code deploy can pick that.

  • Only one config.json could be set. I could be doing it wrong and you should try it too.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions