ministryofjustice / cloud-platform

Documentation on the MoJ cloud platform
MIT License
87 stars 44 forks source link

Update source reference when templating terraform modules #4830

Open poornima-krishnasamy opened 1 year ago

poornima-krishnasamy commented 1 year ago

Background

cloud-platform cli has commands to create ecr, rds, s3 and serviceaccount terraform module. The template to generate the files are places under the module /examples folder. And these /examples folder is also used for unit tests so they refer to the relative path

Proposed user journey

This means when user run the commands with the cli, the code generated doesnt contain latest release or has some relative source path

Approach

Update the cli to fetch the example and update the source reference from the module and the latest release

https://github.com/ministryofjustice/cloud-platform-cli

Communicate changes

Questions / Assumptions

Definition of done

Reference

How to write good user stories

Matt-Alinosn commented 7 months ago

Can be done at same time as #4831