le-ref-architecture-doc icon indicating copy to clipboard operation
le-ref-architecture-doc copied to clipboard

Enhancement | Add a note on why to use the --skip-validation flag

Open juanmatias opened this issue 2 years ago • 0 comments

Describe the Enhancement

As per the chat with @angelofenoglio and @rodriguez-matias it is a good idea to add a note when using the --skip-validation flag explaining why this is needed.

Expected Behavior

In the documentation should be a note explaining why we are using --skip-validation flag when creating backend.

Use Case

The user following the Leverage guides may wonder why we are skipping the validations when creating the backend.

Describe Ideal Solution

Add a note explaining why and giving the user the confidence to use the CLI.

Alternatives Considered

n/a

Additional Context

When creating the backend layer for first time, the bucket still does not exist. If the Leverage CLI is used with validations it will find the Key does not exist or can not be created. Thus, there's a need of creating first the bucket and then move the tfstate file into it using the aforementioned flag.

CC: @exequielrafaela @diego-ojeda-binbash

juanmatias avatar Aug 12 '22 20:08 juanmatias