oracle-quickstart / oci-cloudnative

MuShop - Cloud Native microservices demo for Oracle Cloud Infrastructure
https://oracle-quickstart.github.io/oci-cloudnative
Universal Permissive License v1.0
248 stars 169 forks source link

Micro shapes not available in FRA, reconfigured main.tf but fails to find scripts #35

Closed mikarinneoracle closed 4 years ago

mikarinneoracle commented 5 years ago

https://github.com/oci-quickstart/oci-cloudnative/blob/master/deploy/basic/terraform/main.tf#L63 => instance_shape = "VM.Standard2.1"

I zipped the project source and deployed but giving errors: Error: oci_objectstorage_object.mushop_basic: 1 error occurred:

mikarinneoracle commented 5 years ago

I modified the mushop-basic-stack-v1.0.2.zip file with the change above and looks better, but still fails to another error: Error: Error applying plan: 1 error occurred:

junior commented 4 years ago

Microshapes are available on FRA. Remember that micro-shapes are only available on your home region.

When making changes on the stack, you can build (create the zip) by using these instructions: https://github.com/oracle-quickstart/oci-cloudnative/tree/master/deploy/basic#build

Just zipping the repo will not have the necessary files to run the stack.

mikarinneoracle commented 4 years ago

ok, thanks!

Is there a way to "rollback" all the created resources using TerraForm with the Resource Manager and this demo ?

junior commented 4 years ago

To "rollback", you just need to go to your stack and hit destroy in the menu.

We just released a new stack (mushop-basic-stack-v1.0.3.zip) with a change that auto select the AD where you have free shapes. You just need to make sure that you are on your home region.

mikarinneoracle commented 4 years ago

Ok, my experience is that if/since the install failed removing/destroying the stack did not remove the resources. But I have to take another look. When running this multiple times and failing and destroying the stack I could see all the resources pile up in my cloud account.