-
-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ISSUE-125 | add --skip-validation flag to documentation #132
Conversation
…when there is no S3 set yet
Hi @juanmatias ! Maybe we could also inlude the same solution here for this step What do you thing bout it? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
The bucket is created under the Terraform Backend Layer creation, so, I think when creating the identities layer the bucket already exists, thus its backend "s3" {
key = "management/identities/terraform.tfstate"
} If this is true then we don't need to add the flag when creating identities as we did for backend creation. Please, @angelofenoglio, confirm this.
|
Yes, as @juanmatias pointed out, the |
@juanmatias , @angelofenoglio ✋ . Yes you both are rigth. The issue under the The error that I see here appears when I run terrafom init. the only aws profile that I have so far at this step its the following:
This validation error its solved running |
@rodriguez-matias @angelofenoglio Now, the question here is: must we state in the documentation the usage of this flag by default? or instead, should we add a note notifying that if you use non-standardized names you can skip the validation using the flag? |
Oh, now I get what you mean @rodriguez-matias . |
…shared-accounts.md missing line
Added --skip-validation to lines in documentation when there is no S3 set yet.
What?
Why?
leverage terraform init
is run for the very first time, there is no S3 bucket created to be set as a backend. The command as it is will fail.--skip-validation
allows to run the command, creating the bucket.init
command can be run with no errors.References