Terraform resource addition

Hi Team,

We are having multiple terraform scripts which is going to create resources in the cloud. Let’s take the example if initial script I have provisioned the resources later if want to add some configuration or remove existing configuration how we can be able to perform it from Morpheus.

In native terraform if we update our code in the folder, it will take but how it will work from Morpheus perspective.

Ibrahim K

Every time you provision a TF app or Instance, Morpheus does a clone of the repo, so it will pull the new code that was updated. To update an existing app or instance you would then go to that app or Instance and run an Apply State. This will present the defined variables allowing you to set or change them. Morpheus will then modify the resources running the TF apply command.